mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-09-28 19:23:01 +00:00
Make files read-only
This commit is contained in:
parent
f32e9f5a39
commit
63979eb00f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue