From 5852fb71fbc181b5ca86718117640a7b02f52a5f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 6 Apr 2021 21:53:22 +0200 Subject: [PATCH] Create up.sh --- qbittorrent/rootfs/etc/openvpn/up.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 qbittorrent/rootfs/etc/openvpn/up.sh diff --git a/qbittorrent/rootfs/etc/openvpn/up.sh b/qbittorrent/rootfs/etc/openvpn/up.sh new file mode 100644 index 000000000..59e90e4cf --- /dev/null +++ b/qbittorrent/rootfs/etc/openvpn/up.sh @@ -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