Copy template

This commit is contained in:
Alexandre
2023-07-26 19:17:45 +02:00
committed by GitHub
parent 4262eb947b
commit bbf9011039

View File

@@ -91,7 +91,7 @@ if [ -f "$CONFIGSOURCE" ]; then
fi
else
# Create symlink for addon to create config
touch "${CONFIGSOURCE}"
cp /templates/config.yaml "$(dirname "${CONFIGSOURCE}")"/
ln -sf "$CONFIGSOURCE" /data
rm "$CONFIGSOURCE"
# Need to restart