Make files read-only

This commit is contained in:
mathiascode 2020-01-05 01:30:51 +02:00
parent f32e9f5a39
commit 63979eb00f

View file

@ -13,6 +13,17 @@ chmod 600 .ssh/proxy
echo "$SCHEMATIC_KEY" > .ssh/id_rsa
ssh-keyscan github.com >> .ssh/known_hosts
# Make certain files read-only
touch banned-ips.json
touch banned-players.json
touch ops.json
touch whitelist.json
chmod 400 banned-ips.json
chmod 400 banned-players.json
chmod 400 ops.json
chmod 400 whitelist.json
# Run scripts for starting the Minecraft server, reverse proxy and schematic
# checker in the background