Просмотр исходного кода

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

Winston Li 11 лет назад
Родитель
Сommit
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."