mirror of
https://github.com/minoplhy/scriptbox.git
synced 2024-12-05 01:46:57 +00:00
nginx-noroot : find start-stop-daemon location before running stop script
This commit is contained in:
parent
76eaaff2ae
commit
fb102926f1
@ -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
|
Loading…
Reference in New Issue
Block a user