Fix entry point

This commit is contained in:
SmeagolWorms4
2023-08-08 13:08:05 +02:00
parent 191683467b
commit e7d28d1222
+2 -2
View File
@@ -1,5 +1,5 @@
#!/bin/sh
if [ -n "$INITIAL_CONFIG" ] && [ ! -f $CONFIG_PATH/setting.json ]; then
echo "$INITIAL_CONFIG" > $CONFIG_PATH/setting.json
if [ -n "$INITIAL_CONFIG" ] && [ ! -f $CONFIG_PATH/settings.json ]; then
echo "$INITIAL_CONFIG" > $CONFIG_PATH/settings.json
fi
exec "$@"