diff --git a/examples/haproxy.init b/examples/haproxy.init index bf13b1513..d02c36710 100644 --- a/examples/haproxy.init +++ b/examples/haproxy.init @@ -78,6 +78,10 @@ restart() { } reload() { + if ! [ -s $PIDFILE ]; then + return 0 + fi + quiet_check if [ $? -ne 0 ]; then echo "Errors found in configuration file, check it with '$BASENAME check'."