Update qbittorrent.init

This commit is contained in:
MarkusMcNugen 2018-02-04 07:11:08 -05:00 committed by GitHub
parent b1dd5222b2
commit 84285c8e50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ do_start()
else
echo "Log file $QBTLOG doesn't exist. Creating it..."
touch $QBTLOG
chown $USER:$USER $QBTLOG
chown $USER:$GROUP $QBTLOG
if [ -f $QBTLOG ];
then
echo "Logfile created. Logging to $QBTLOG"
@ -74,6 +74,7 @@ do_start()
start-stop-daemon --start --chuid $USER:$GROUP --make-pidfile --pidfile $PIDFILE --background --exec /bin/bash -- -c "$DAEMONSTRING" || return 2
sleep 1
echo "$NAME started"
}
#