deemix-docker/root/etc/services.d/deemix/run
Henning Bocklage 440d8319bf initial commit
2020-06-05 21:25:27 +02:00

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