Skip to content

Commit

Permalink
update s6 configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
zakkarry committed Jan 26, 2025
1 parent 932d2ef commit 7d2b500
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions root/etc/s6-overlay/s6-rc.d/svc-deluge-web/run
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ fi
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z 127.0.0.1 ${DELUGE_WEB_PORT:-8112}" \
s6-setuidgid abc /usr/bin/deluge-web -d -c /config --loglevel="${DELUGE_LOGLEVEL}"
s6-setuidgid abc /lsiopy/bin/deluge-web -d -c /config --loglevel="${DELUGE_LOGLEVEL}"
else
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z 127.0.0.1 ${DELUGE_WEB_PORT:-8112}" \
/usr/bin/deluge-web -d -c /config --loglevel="${DELUGE_LOGLEVEL}"
/lsiopy/bin/deluge-web -d -c /config --loglevel="${DELUGE_LOGLEVEL}"
fi
4 changes: 2 additions & 2 deletions root/etc/s6-overlay/s6-rc.d/svc-deluged/run
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ fi
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z 127.0.0.1 ${DELUGED_PORT:-58846}" \
s6-setuidgid abc /usr/bin/deluged -c /config -d --loglevel="${DELUGE_LOGLEVEL}"
s6-setuidgid abc /lsiopy/bin/deluged -c /config -d --loglevel="${DELUGE_LOGLEVEL}"
else
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z 127.0.0.1 ${DELUGED_PORT:-58846}" \
/usr/bin/deluged -c /config -d --loglevel="${DELUGE_LOGLEVEL}"
/lsiopy/bin/deluged -c /config -d --loglevel="${DELUGE_LOGLEVEL}"
fi

0 comments on commit 7d2b500

Please sign in to comment.