mirror of
https://github.com/linuxserver/docker-readarr.git
synced 2026-03-09 00:10:00 +08:00
Merge pull request #43 from linuxserver/nightly-nonroot-consistency
This commit is contained in:
commit
b287a4df4b
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -32,7 +32,7 @@ pipeline {
|
||||
CI_WEB='true'
|
||||
CI_PORT='8787'
|
||||
CI_SSL='false'
|
||||
CI_DELAY='120'
|
||||
CI_DELAY='240'
|
||||
CI_DOCKERENV=''
|
||||
CI_AUTH=''
|
||||
CI_WEBPATH='/system/status'
|
||||
|
||||
@ -20,7 +20,7 @@ repo_vars:
|
||||
- CI_WEB='true'
|
||||
- CI_PORT='8787'
|
||||
- CI_SSL='false'
|
||||
- CI_DELAY='120'
|
||||
- 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/readarr/bin /app/readarr/bin/Readarr \
|
||||
-nobrowser -data=/config
|
||||
else
|
||||
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
|
||||
exec \
|
||||
s6-notifyoncheck -d -n 300 -w 1000 \
|
||||
cd /app/readarr/bin s6-setuidgid abc /app/readarr/bin/Readarr \
|
||||
-nobrowser -data=/config
|
||||
else
|
||||
exec \
|
||||
s6-notifyoncheck -d -n 300 -w 1000 \
|
||||
cd /app/readarr/bin /app/readarr/bin/Readarr \
|
||||
-nobrowser -data=/config
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user