Skip to content

Commit

Permalink
Make checks consistent between init and svc
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Dec 19, 2024
1 parent ad708bc commit b4e6da4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions root/etc/s6-overlay/s6-rc.d/svc-prowlarr/run
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash

if [[ -n ${LSIO_NON_ROOT_USER} ]]; then
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
exec \
s6-notifyoncheck -d -n 300 -w 1000 \
cd /app/prowlarr/bin /app/prowlarr/bin/Prowlarr \
cd /app/prowlarr/bin s6-setuidgid abc /app/prowlarr/bin/Prowlarr \
-nobrowser -data=/config
else
exec \
s6-notifyoncheck -d -n 300 -w 1000 \
cd /app/prowlarr/bin s6-setuidgid abc /app/prowlarr/bin/Prowlarr \
cd /app/prowlarr/bin /app/prowlarr/bin/Prowlarr \
-nobrowser -data=/config
fi

0 comments on commit b4e6da4

Please sign in to comment.