diff --git a/nginx/ng/files/nginx.service b/nginx/ng/files/nginx.service index 8d566b6..2a65f0b 100644 --- a/nginx/ng/files/nginx.service +++ b/nginx/ng/files/nginx.service @@ -7,7 +7,7 @@ Type=forking PIDFile=/run/nginx.pid ExecStartPre=/usr/sbin/nginx -t ExecStart=/usr/sbin/nginx -ExecReload=/bin/kill -s HUP $MAINPID +ExecReload=/usr/sbin/nginx -s reload ExecStop=/bin/kill -s QUIT $MAINPID Restart=on-failure RestartSec=10s