mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-22 10:34:57 +00:00
Update qbittorrent.init
This commit is contained in:
parent
b1dd5222b2
commit
84285c8e50
@ -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"
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user