SHARE
TWEET

Nginx /etc/init.d/nginx error

a guest Feb 26th, 2013 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # WAS (broken)
  2. start() {
  3.                 start-stop-daemon --start --quiet --pidfile $PID \
  4.                         --retry 5 --exec $DAEMON --oknodo -- $DAEMON_OPTS
  5. }
  6.  
  7. stop() {
  8.                 start-stop-daemon --stop --quiet --pidfile $PID \
  9.                         --retry 5 --oknodo --exec $DAEMON
  10. }
  11.  
  12. # NOW (working)
  13. start() {
  14.                 start-stop-daemon --start --quiet --pidfile $PID \
  15.                         --retry --exec $DAEMON --oknodo -- $DAEMON_OPTS
  16. }
  17.  
  18. stop() {
  19.                 start-stop-daemon --stop --quiet --pidfile $PID \
  20.                         --retry --oknodo --exec $DAEMON
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top