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