Преглед изворни кода

(fix #9) Fix start-stop-daemon call by removing --name option.

Winston Li пре 11 година
родитељ
комит
4d98159398
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/git-bridge/bin/wlgb

+ 1 - 1
services/git-bridge/bin/wlgb

@@ -75,7 +75,7 @@ do_stop()
 {
 	if [ -f "$PIDFILE" ]; then
 		echo "Stopping Writelatex-Git Bridge..."
-		start-stop-daemon --stop --quiet --retry=TERM/60/KILL/5 --pidfile $PIDFILE --name $NAME
+		start-stop-daemon --stop --quiet --retry=TERM/60/KILL/5 --pidfile $PIDFILE
 		# Many daemons don't delete their pidfiles when they exit.
 		rm -f $PIDFILE
 		echo "WriteLatex-Git Bridge stopped."