Cat the config files instead of copying them to not preserve permissions

This commit is contained in:
Charlotte 🦝 Delenk 2022-02-20 08:48:17 +01:00
parent 648a969c1e
commit 471ddeb1ee
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -57,9 +57,9 @@ in
# Agree to the EULA
echo "eula=true" > eula.txt
# Update the server properties
cp ${serverProperties} server.properties
cat ${serverProperties} > server.properties
# Update the whitelist
cp ${whitelistJson} whitelist.json
cat ${whitelistJson} > whitelist.json
'';
serviceConfig = {
Type = "simple";