mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-30 04:14:04 +02:00
Update up-qbittorrent.sh
This commit is contained in:
@@ -1,10 +1,5 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
WEBUI_PORT=${WEBUI_PORT:-8080}
|
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 s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"
|
exec s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"
|
||||||
|
|||||||
Reference in New Issue
Block a user