mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-12-26 19:11:42 +00:00
Update start.sh
This commit is contained in:
parent
c96af223db
commit
edf57edc2b
@ -12,6 +12,13 @@ _handler() {
|
||||
}
|
||||
|
||||
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'
|
||||
/usr/bin/qbittorrent-nox --profile=/config &
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user