From 92fbf973b43adf74d58ef4a5925a04d3a7009a0b Mon Sep 17 00:00:00 2001 From: Winston Li Date: Fri, 5 Dec 2014 22:00:55 +0000 Subject: [PATCH] Logging stdout and stderr. --- services/git-bridge/bin/wlgb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 services/git-bridge/bin/wlgb diff --git a/services/git-bridge/bin/wlgb b/services/git-bridge/bin/wlgb old mode 100755 new mode 100644 index a73a693cf2..1d25f66a4b --- a/services/git-bridge/bin/wlgb +++ b/services/git-bridge/bin/wlgb @@ -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