Skip to content

Commit c1fe936

Browse files
authored
Merge pull request #308 from linuxserver/develop-nonroot-consistency
2 parents 4226bf9 + 1244289 commit c1fe936

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pipeline {
3232
CI_WEB='true'
3333
CI_PORT='8989'
3434
CI_SSL='false'
35-
CI_DELAY='120'
35+
CI_DELAY='240'
3636
CI_DOCKERENV=''
3737
CI_AUTH=''
3838
CI_WEBPATH='/system/status'

jenkins-vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repo_vars:
2121
- CI_WEB='true'
2222
- CI_PORT='8989'
2323
- CI_SSL='false'
24-
- CI_DELAY='120'
24+
- CI_DELAY='240'
2525
- CI_DOCKERENV=''
2626
- CI_AUTH=''
2727
- CI_WEBPATH='/system/status'
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/usr/bin/with-contenv bash
22
# shellcheck shell=bash
33

4-
if [[ -n ${LSIO_NON_ROOT_USER} ]]; then
4+
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
55
exec \
66
s6-notifyoncheck -d -n 300 -w 1000 \
7-
cd /app/sonarr/bin /app/sonarr/bin/Sonarr \
7+
cd /app/sonarr/bin s6-setuidgid abc /app/sonarr/bin/Sonarr \
88
-nobrowser -data=/config
99
else
1010
exec \
1111
s6-notifyoncheck -d -n 300 -w 1000 \
12-
cd /app/sonarr/bin s6-setuidgid abc /app/sonarr/bin/Sonarr \
12+
cd /app/sonarr/bin /app/sonarr/bin/Sonarr \
1313
-nobrowser -data=/config
1414
fi

0 commit comments

Comments
 (0)