Removed return on logfile creation in init script that was causing service not to start

This commit is contained in:
Matt Hill
2014-12-18 23:12:03 -05:00
parent 93ae16408e
commit 9c2a0a8076

View File

@@ -69,8 +69,8 @@ do_start()
# 0 if daemon has been started
# 1 if daemon was already running
# 2 if daemon could not be started
[ ! -f $LOGFILE ] && touch $LOGFILE && chown $USER:$GROUP $LOGFILE \
|| return 2
[ ! -f $LOGFILE ] && touch $LOGFILE && chown $USER:$GROUP $LOGFILE
start-stop-daemon --start --quiet --pidfile $PIDFILE \
--chuid $USER:$GROUP --exec $DAEMON --test > /dev/null \
|| return 1