mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-22 10:34:57 +00:00
Update start.sh
This commit is contained in:
parent
a85d21bad0
commit
8a7ae4409e
@ -1,10 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
handler() {
|
||||
echo "[warn] Shutdown detected..." | ts '%Y-%m-%d %H:%M:%.S'
|
||||
}
|
||||
|
||||
if [[ ! -e /config/qBittorrent ]]; then
|
||||
mkdir -p /config/qBittorrent/config/
|
||||
chown -R ${PUID}:${PGID} /config/qBittorrent
|
||||
@ -19,7 +15,7 @@ if [[ ! -e /config/qBittorrent/config/qBittorrent.conf ]]; then
|
||||
fi
|
||||
|
||||
echo "[info] Starting qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S'
|
||||
/bin/bash /etc/qbittorrent/qbittorrent.init start &
|
||||
/bin/bash /etc/qbittorrent/qbittorrent.init start
|
||||
chmod -R 755 /config/qBittorrent
|
||||
|
||||
sleep 1
|
||||
|
Loading…
Reference in New Issue
Block a user