scriptbox/nginx-noroot/script/stopnginx.sh

3 lines
120 B
Bash
Raw Normal View History

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