From 4d981593985da5465fd0fc308f1a3281b9f0d4ef Mon Sep 17 00:00:00 2001 From: Winston Li Date: Sat, 21 Feb 2015 01:37:27 +0000 Subject: [PATCH] (fix #9) Fix start-stop-daemon call by removing --name option. --- services/git-bridge/bin/wlgb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/git-bridge/bin/wlgb b/services/git-bridge/bin/wlgb index 4587a36113..44f289b7cb 100755 --- a/services/git-bridge/bin/wlgb +++ b/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."