mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-14 22:55:11 +00:00
Update qbittorrent.init
This commit is contained in:
parent
ef722d6cd6
commit
6bed71d38d
@ -22,7 +22,7 @@ SCRIPTNAME="/etc/init.d/qbittorrent"
|
||||
NAME="qbittorrent-nox"
|
||||
DESC="QBittorrent"
|
||||
PIDFILE="/var/run/$NAME.pid"
|
||||
QBTLOG="/var/log/$NAME.log"
|
||||
QBTLOG="/config/qBittorrent/data/logs/$NAME daemon.log"
|
||||
|
||||
DAEMON="/usr/bin/qbittorrent-nox"
|
||||
DAEMON_ARGS="--profile=/config"
|
||||
@ -31,7 +31,7 @@ DAEMONSTRING="$DAEMON $DAEMON_ARGS >> $QBTLOG 2>&1"
|
||||
export DBUS_SESSION_BUS_ADDRESS=""
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x "$DAEMONPATH$DAEMON" ] || exit 0
|
||||
[ -x "$DAEMON" ] || exit 0
|
||||
|
||||
# Read configuration variable file if it is present
|
||||
#[ -r /etc/default/$NAME ] && . /etc/default/$NAME
|
||||
|
Loading…
Reference in New Issue
Block a user