Skip to content
This repository was archived by the owner on Jan 3, 2025. It is now read-only.

Commit d7c052a

Browse files
authored
Merge pull request #24 from linuxserver/ro-tweaks
Reorder chown, move tmp dir
2 parents 6fc6257 + aba0cfb commit d7c052a

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pipeline {
3333
CI_WEB='true'
3434
CI_PORT='4040'
3535
CI_SSL='false'
36-
CI_DELAY='120'
36+
CI_DELAY='600'
3737
CI_DOCKERENV=''
3838
CI_AUTH=''
3939
CI_WEBPATH=''

jenkins-vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repo_vars:
2323
- CI_WEB='true'
2424
- CI_PORT='4040'
2525
- CI_SSL='false'
26-
- CI_DELAY='120'
26+
- CI_DELAY='600'
2727
- CI_DOCKERENV=''
2828
- CI_AUTH=''
2929
- CI_WEBPATH=''

readme-vars.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ param_ports:
3434
opt_param_usage_include_env: true
3535
opt_param_env_vars:
3636
- { env_var: "CONTEXT_PATH", env_value: "url-base", desc: "Base url for use with reverse proxies etc." }
37+
38+
readonly_supported: true
39+
3740
# application setup block
3841
app_setup_block_enabled: true
3942
app_setup_block: "While this is a more up to date rebase of the original Booksonic server, upgrading in place is not supported and a fresh install has been recommended. Default user/pass is admin/admin"

root/etc/s6-overlay/s6-rc.d/init-booksonic-air-config/run

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
# shellcheck shell=bash
33

44
mkdir -p "${BOOKSONIC_AIR_SETTINGS}"/transcode
5+
mkdir -p /run/tomcat.4040
6+
7+
lsiown -R abc:abc \
8+
/config \
9+
/run/tomcat.4040
510

611
if [[ ! -e "${BOOKSONIC_AIR_SETTINGS}"/transcode/ffmpeg ]] || [[ ! -e "${BOOKSONIC_AIR_SETTINGS}"/transcode/flac ]] || [[ ! -e "${BOOKSONIC_AIR_SETTINGS}"/transcode/lame ]]; then
712
ln -sf /usr/bin/ffmpeg "${BOOKSONIC_AIR_SETTINGS}"/transcode/
813
ln -sf /usr/bin/flac "${BOOKSONIC_AIR_SETTINGS}"/transcode/
914
ln -sf /usr/bin/lame "${BOOKSONIC_AIR_SETTINGS}"/transcode/
1015
fi
11-
12-
lsiown -R abc:abc \
13-
/config \
14-
"${BOOKSONIC_AIR_HOME}"

root/etc/s6-overlay/s6-rc.d/svc-booksonic-air/run

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ exec \
2020
-Dairsonic.defaultPodcastFolder=/podcasts \
2121
-Dairsonic.home="${BOOKSONIC_AIR_SETTINGS}" \
2222
-Djava.awt.headless=true \
23+
-Djava.io.tmpdir="/run/tomcat.4040" \
2324
-Dserver.servlet.contextPath="${URL_BASE}" \
2425
-Dserver.host=0.0.0.0 \
2526
-Dserver.port=4040 \

0 commit comments

Comments
 (0)