Cat the config files instead of copying them to not preserve permissions
This commit is contained in:
parent
648a969c1e
commit
471ddeb1ee
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue