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