Move to buildargs

This commit is contained in:
2019-03-05 21:59:50 +00:00
parent a2ad9822ad
commit 0eaf7c6467
4 changed files with 25 additions and 20 deletions
+6
View File
@@ -7,6 +7,12 @@ if [ "$(stat -c %U /data)" != "mumble-server" ] ; then
chown -R mumble-server.mumble-server /data
fi;
if [ ! -f /config/mumble_server.ini ]; then
echo "No config file found in /config, copying in default file"
cp /config-orig/mumble_server.ini /config/
chown -R mumble-server.mumble-server /config
fi
OPTS="-ini $MUMBLE_INI"
exec murmurd $OPTS $@