mirror of
https://gitlab.com/Bockiii/deemix-docker.git
synced 2024-08-30 17:32:18 +00:00
18 lines
275 B
Plaintext
18 lines
275 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
UMASK_SET=${UMASK_SET:-022}
|
|
umask "$UMASK_SET"
|
|
|
|
cd /deemix-gui/server
|
|
|
|
HOME=/deem
|
|
|
|
if [ ! -z ${INTPORT} ]; then
|
|
port=$INTPORT
|
|
else
|
|
port=6595
|
|
fi
|
|
|
|
|
|
echo "[services.d] Starting Deemix"
|
|
s6-setuidgid abc yarn start-build --host 0.0.0.0 --port $port |