• Łukasz Nowak's avatar
    caddy-frontend: Fix configuration validation script · 19cc5a58
    Łukasz Nowak authored
    As caddy_configuration_state provides information with exit code use it
    directly in the if instead of running it with $(), which stops execution when
    configuration is not changed.
    
    Improve checking for too old result - do not remove the file, instead check
    for too old result and then recalculate.
    
    /reviewed-on nexedi/slapos!589
    19cc5a58
validate-script.sh.in 410 Bytes