nginx-noroot : find start-stop-daemon location before running stop script

This commit is contained in:
unknown 2022-04-24 20:02:45 +07:00
parent 76eaaff2ae
commit fb102926f1
Signed by: minoplhy
GPG Key ID: 90667A59A9908AEC

View File

@ -1 +1,3 @@
start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile ~/nginx-settings/run/nginx.pid STOPDAEMON=`which start-stop-daemon`
$STOPDAEMON --quiet --stop --retry QUIT/5 --pidfile ~/nginx-settings/run/nginx.pid