mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-03 06:09:02 +02:00
(fix #9) Fix start-stop-daemon call by removing --name option.
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user