Merge pull request #7 from overleaf/fix-error-log-folder

Fix error log folder
This commit is contained in:
Marc Egea i Sala 2015-12-07 10:16:02 +00:00
commit 00cadba2b0

View file

@ -56,7 +56,7 @@ do_start()
echo "Starting WriteLatex-Git Bridge..." echo "Starting WriteLatex-Git Bridge..."
start-stop-daemon --start --quiet --make-pidfile --pidfile $PIDFILE \ start-stop-daemon --start --quiet --make-pidfile --pidfile $PIDFILE \
--exec /usr/bin/env LANG="C.UTF-8" $DAEMON -- \ --exec /usr/bin/env LANG="C.UTF-8" $DAEMON -- \
$DAEMON_ARGS >> /var/log/wlgb/out.log 2>> /var/log/err.log & $DAEMON_ARGS >> /var/log/wlgb/out.log 2>> /var/log/wlgb/err.log &
echo "WriteLatex-Git Bridge started." echo "WriteLatex-Git Bridge started."
echo "Config file at /etc/wlgb/config.json" echo "Config file at /etc/wlgb/config.json"
echo "Log file at /var/log/wlgb/out.log" echo "Log file at /var/log/wlgb/out.log"