Logging stdout and stderr.

This commit is contained in:
Winston Li 2014-12-05 22:00:55 +00:00
parent 587faab290
commit 92fbf973b4

2
services/git-bridge/bin/wlgb Executable file → Normal file
View file

@ -55,7 +55,7 @@ do_start()
fi
echo "Starting WriteLatex-Git Bridge..."
start-stop-daemon --start --quiet --make-pidfile --pidfile $PIDFILE --exec $DAEMON -- \
$DAEMON_ARGS &
$DAEMON_ARGS >> /var/log/wlgb/out.log 2>> /var/log/err.log &
echo "WriteLatex-Git Bridge started."
return 0
# Add code here, if necessary, that waits for the process to be ready