From 84285c8e506f98fa5eb5f20a16a1bd9474d2de0e Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sun, 4 Feb 2018 07:11:08 -0500 Subject: [PATCH] Update qbittorrent.init --- qbittorrent/qbittorrent.init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qbittorrent/qbittorrent.init b/qbittorrent/qbittorrent.init index 7276d05..90387df 100644 --- a/qbittorrent/qbittorrent.init +++ b/qbittorrent/qbittorrent.init @@ -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" } #