refactor: Update s6-overlay usage for ms config and start up

Refactor s6 usage based on most recent lsio images
This commit is contained in:
FoxxMD 2023-02-14 10:44:31 -05:00
parent 2b60a0f76f
commit 04c9de648d
11 changed files with 22 additions and 15 deletions

View file

@ -0,0 +1,8 @@
#!/usr/bin/with-contenv bash
# used https://github.com/linuxserver/docker-wikijs/blob/master/root/etc/s6-overlay/s6-rc.d/svc-wikijs/run as a template
# NODE_ARGS can be passed by ENV in docker command like "docker run foxxmd/multi-scrobbler -e NODE_ARGS=--optimize_for_size"
echo -e "\nmulti-scrobbler is starting!"
exec \
s6-setuidgid abc /usr/local/bin/node $NODE_ARGS /app/src/index.js run