diff --git a/templates/services/nginx b/templates/services/nginx index 000b96e..64dae18 100644 --- a/templates/services/nginx +++ b/templates/services/nginx @@ -4,6 +4,6 @@ check process nginx with pidfile /var/run/{{ nginx_daemon }}.pid group nginx start program = "/bin/systemctl start {{ nginx_daemon }}" - stop program = "/bin/systemctl start {{ nginx_daemon }}" + stop program = "/bin/systemctl stop {{ nginx_daemon }}" if failed port 80 for 2 cycles then restart if failed port 443 for 2 cycles then restart