Rebase to Jammy
This commit is contained in:
@@ -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
@@ -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
|
||||
Executable
+7
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user