Rebase to Jammy

This commit is contained in:
TheSpad
2023-02-15 13:55:14 +00:00
parent bc4e3b1a98
commit fc49f5b186
17 changed files with 55 additions and 30 deletions
-9
View File
@@ -1,9 +0,0 @@
#!/usr/bin/with-contenv bash
# cleanup pid if it exists
[[ -e /config/sonarr.pid ]] && \
rm -rf /config/sonarr.pid
# permissions
chown -R abc:abc \
/app/sonarr/bin
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
# cleanup pid if it exists
if [[ -e /config/sonarr.pid ]]; then
rm -rf /config/sonarr.pid
fi
# permissions
lsiown -R abc:abc \
/app/sonarr/bin \
/config
@@ -0,0 +1 @@
oneshot
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-sonarr-config/run
@@ -0,0 +1 @@
3
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8989" \
cd /app/sonarr/bin s6-setuidgid abc mono --debug Sonarr.exe \
-nobrowser -data=/config
@@ -0,0 +1 @@
longrun
-7
View File
@@ -1,7 +0,0 @@
#!/usr/bin/with-contenv bash
cd /app/sonarr/bin || exit
exec \
s6-setuidgid abc mono --debug Sonarr.exe \
-nobrowser -data=/config