mirror of
https://github.com/linuxserver/docker-lidarr.git
synced 2026-02-20 01:02:41 +08:00
Merge pull request #110 from linuxserver/nightly-nonroot-consistency
This commit is contained in:
commit
a2c73d952f
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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'
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user