diff --git a/qbittorrent/qbittorrent.init b/qbittorrent/qbittorrent.init index d959cf1..aae5add 100644 --- a/qbittorrent/qbittorrent.init +++ b/qbittorrent/qbittorrent.init @@ -25,7 +25,6 @@ DESC="qBittorrent" PIDFILE="/var/run/$NAME.pid" QBTLOGPATH="/config/qBittorrent/data/logs/" QBTLOG="qbittorrent-daemon.log" -UMASK="022" DAEMON="/usr/bin/qbittorrent-nox" DAEMON_ARGS="--profile=/config" @@ -33,6 +32,8 @@ DAEMONSTRING="$DAEMON $DAEMON_ARGS >> $QBTLOGPATH$QBTLOG 2>&1" export DBUS_SESSION_BUS_ADDRESS="" +umask 000 + # Read configuration variable file if it is present #[ -r /etc/default/$NAME ] && . /etc/default/$NAME