mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-22 18:45:25 +00:00
Update start.sh
This commit is contained in:
parent
605e31d5ee
commit
af2fc80c0a
@ -128,6 +128,16 @@ for name_server_item in "${name_server_list[@]}"; do
|
||||
|
||||
done
|
||||
|
||||
if [[ -z "${PUID}" ]]; then
|
||||
echo "[info] PUID not defined. Defaulting to root user" | ts '%Y-%m-%d %H:%M:%.S'
|
||||
export PUID="root"
|
||||
fi
|
||||
|
||||
if [[ -z "${PGID}" ]]; then
|
||||
echo "[info] PGID not defined. Defaulting to root group" | ts '%Y-%m-%d %H:%M:%.S'
|
||||
export PGID="root"
|
||||
fi
|
||||
|
||||
if [[ $VPN_ENABLED == "yes" ]]; then
|
||||
echo "[info] Starting OpenVPN..." | ts '%Y-%m-%d %H:%M:%.S'
|
||||
cd /config/openvpn
|
||||
|
Loading…
Reference in New Issue
Block a user