Files
hassio-addons/qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh
2022-09-04 17:14:58 +02:00

8 lines
230 B
Bash

#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
WEBUI_PORT=${WEBUI_PORT:-8080}
s6-notifyoncheck -d -n 12 -c "nc -z 127.0.0.1 ${WEBUI_PORT}" \
s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"