mirror of
https://gitlab.com/Bockiii/deemix-docker.git
synced 2024-08-30 17:32:18 +00:00
18 lines
388 B
Plaintext
18 lines
388 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
UMASK_SET=${UMASK_SET:-022}
|
|
umask "$UMASK_SET"
|
|
|
|
cd /deemix
|
|
|
|
HOME=/deem
|
|
|
|
if [ -f "/config/.arl" ]; then
|
|
echo "[services.d] Starting with ARL"
|
|
exec \
|
|
s6-setuidgid abc python3 /deemix/server.py 6595 --serverwide-arl --host 0.0.0.0
|
|
else
|
|
echo "[services.d] Starting without ARL"
|
|
exec \
|
|
s6-setuidgid abc python3 /deemix/server.py 6595 --host 0.0.0.0
|
|
fi |