bump version and add WEBUI_PORT variable to allow changing of the webui port

This commit is contained in:
sparklyballs
2017-09-16 08:07:40 +01:00
parent 7ae345b4db
commit fef8110e7c
3 changed files with 10 additions and 3 deletions

View File

@@ -1,8 +1,9 @@
#!/usr/bin/with-contenv bash
UMASK_SET=${UMASK_SET:-022}
WEBUI_PORT=${WEBUI_PORT:-8080}
umask "$UMASK_SET"
exec \
s6-setuidgid abc /usr/bin/qbittorrent-nox
s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"