Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Executing script after tunnel up #108

Open
wants to merge 16 commits into
base: development
Choose a base branch
from
Prev Previous commit
Next Next commit
set permissions
jaype87 committed Dec 17, 2021
commit 420fff39a5bb1f47022f45f57fa8cc8e019db811
1 change: 1 addition & 0 deletions rootfs/etc/cont-init.d/01-setup-permissions
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@ mkdir -p "${QBT_SAVE_PATH}"
# set permissions on configuration directory
echo "${CONFIG_DIR}/qBittorrent true ${PUID}:${PGID} 0600 0700" | fix-attrs
echo "${CONFIG_DIR}/openvpn true openvpn:openvpn 0600 0700" | fix-attrs
echo "/scripts true openvpn:openvpn 0600 0700" | fix-attrs

# set ownership on download directory
chown -R "${PUID}:${PGID}" "${QBT_SAVE_PATH}"