mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-05-03 14:11:22 +00:00
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:
parent
2b60a0f76f
commit
04c9de648d
11 changed files with 22 additions and 15 deletions
8
docker/root/etc/s6-overlay/s6-rc.d/svc-node/run
Executable file
8
docker/root/etc/s6-overlay/s6-rc.d/svc-node/run
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue