Use runtime when checking for updates.

This commit is contained in:
Roxedus
2021-07-12 00:48:40 +02:00
parent 4bc59c86e3
commit 26b07afc79
10 changed files with 109 additions and 96 deletions

View File

@@ -2,4 +2,4 @@
# permissions
chown -R abc:abc \
/config
/config

View File

@@ -1,10 +1,10 @@
#!/usr/bin/with-contenv bash
if [ -n "${UMASK_SET}" ] && [ -z "${UMASK}" ]; then
echo -e "You are using a legacy method of defining umask\nplease update your environment variable from UMASK_SET to UMASK\nto keep the functionality after July 2021"
umask ${UMASK_SET}
echo -e "You are using a legacy method of defining umask\nplease update your environment variable from UMASK_SET to UMASK\nto keep the functionality after July 2021"
umask ${UMASK_SET}
fi
exec \
s6-setuidgid abc /app/radarr/bin/Radarr \
-nobrowser -data=/config
s6-setuidgid abc /app/radarr/bin/Radarr \
-nobrowser -data=/config