mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-14 22:55:11 +00:00
Update start.sh
This commit is contained in:
parent
c96af223db
commit
edf57edc2b
@ -12,6 +12,13 @@ _handler() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
trap _handler SIGINT SIGTERM SIGHUP
|
trap _handler SIGINT SIGTERM SIGHUP
|
||||||
|
|
||||||
|
if [[ ! -e /config/qBittorrent/config/qBittorrent.conf ]]; then
|
||||||
|
yes | cp /etc/qbittorrent/qBittorrent.conf /config/qBittorrent/config/qBittorrent.conf
|
||||||
|
chmod 755 /config/qBittorrent/config/qBittorrent.conf
|
||||||
|
chown -R 99:100 /config/qBittorrent/config/qBittorrent.conf
|
||||||
|
fi
|
||||||
|
|
||||||
echo "[info] Starting qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S'
|
echo "[info] Starting qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S'
|
||||||
/usr/bin/qbittorrent-nox --profile=/config &
|
/usr/bin/qbittorrent-nox --profile=/config &
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user