Fix error log folder
Error log is stored under /var/log/err.log. This PR fixes it and stores the log under /var/log/wlgb/err.log
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user