Rebase to 3.21

This commit is contained in:
thespad
2024-12-23 18:02:42 +00:00
parent 7543d440df
commit 1b020e940c
8 changed files with 28 additions and 12 deletions

View File

@@ -3,7 +3,8 @@
mkdir -p /run/prowlarr-temp
# permissions
lsiown -R abc:abc \
/config \
/run/prowlarr-temp
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
lsiown -R abc:abc \
/config \
/run/prowlarr-temp
fi

View File

@@ -1,7 +1,14 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
exec \
s6-notifyoncheck -d -n 300 -w 1000 \
cd /app/prowlarr/bin s6-setuidgid abc /app/prowlarr/bin/Prowlarr \
-nobrowser -data=/config
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
exec \
s6-notifyoncheck -d -n 300 -w 1000 \
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 /app/prowlarr/bin/Prowlarr \
-nobrowser -data=/config
fi