mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-03 16:00:29 +01:00
Create up.sh
This commit is contained in:
10
qbittorrent/rootfs/etc/openvpn/up.sh
Normal file
10
qbittorrent/rootfs/etc/openvpn/up.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
WEBUI_PORT=${WEBUI_PORT:-8080}
|
||||
|
||||
if [ -n "${UMASK_SET}" ] && [ -z "${UMASK}" ]; then
|
||||
echo -e "You are using a legacy method of defining umask\nplease update your environment variable from UMASK_SET to UMASK\nto keep the functionality after July 2021"
|
||||
umask ${UMASK_SET}
|
||||
fi
|
||||
|
||||
exec /usr/bin/transmission-daemon --foreground --config-dir /data/transmission
|
||||
Reference in New Issue
Block a user