Create plex-audnexus LSIO Docker Mod

This commit is contained in:
Tyler Nguyen
2023-08-26 05:14:08 -05:00
committed by GitHub
parent cc80a43d42
commit 92f50a07f6
22 changed files with 29 additions and 95 deletions
@@ -0,0 +1,13 @@
#!/usr/bin/with-contenv bash
plugindir="/config/Library/Application Support/Plex Media Server/Plug-ins"
# clone or update Audnexus.bundle (https://github.com/djdembeck/Audnexus.bundle)
if [ ! -d "$plugindir/Audnexus.bundle" ]; then
echo "**** no agent found, cloning ****"
s6-setuidgid abc git clone --depth 1 https://github.com/djdembeck/Audnexus.bundle "$plugindir/Audnexus.bundle"
else
echo "**** pulling latest update ****"
s6-setuidgid abc git -C "$plugindir/Hama.bundle" pull
fi
lsiown -R abc:abc "$plugindir/Audnexus.bundle"
@@ -0,0 +1 @@
oneshot
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-mod-imagename-modname-install/run