Merge pull request #110 from linuxserver/nightly-nonroot-consistency

This commit is contained in:
Adam 2024-12-20 09:51:30 +00:00 committed by GitHub
commit a2c73d952f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 8 deletions

2
Jenkinsfile vendored
View File

@ -32,7 +32,7 @@ pipeline {
CI_WEB='true'
CI_PORT='8686'
CI_SSL='false'
CI_DELAY='60'
CI_DELAY='240'
CI_DOCKERENV=''
CI_AUTH=''
CI_WEBPATH='/system/status'

View File

@ -20,7 +20,7 @@ repo_vars:
- CI_WEB='true'
- CI_PORT='8686'
- CI_SSL='false'
- CI_DELAY='60'
- CI_DELAY='240'
- CI_DOCKERENV=''
- CI_AUTH=''
- CI_WEBPATH='/system/status'

View File

@ -1,14 +1,14 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
if [[ -n ${LSIO_NON_ROOT_USER} ]]; then
exec \
s6-notifyoncheck -d -n 300 -w 1000 \
cd /app/lidarr/bin /app/lidarr/bin/Lidarr \
-nobrowser -data=/config
else
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
exec \
s6-notifyoncheck -d -n 300 -w 1000 \
cd /app/lidarr/bin s6-setuidgid abc /app/lidarr/bin/Lidarr \
-nobrowser -data=/config
else
exec \
s6-notifyoncheck -d -n 300 -w 1000 \
cd /app/lidarr/bin /app/lidarr/bin/Lidarr \
-nobrowser -data=/config
fi