mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-09-28 19:23:01 +00:00
Don't make files read-only
This commit is contained in:
parent
96e38b6f19
commit
f68e336558
|
@ -6,18 +6,6 @@
|
|||
mkdir -p $HOME/plugins/Essentials/userdata/
|
||||
chmod -R 500 $HOME/plugins/bStats/ $HOME/plugins/Essentials/userdata/ $HOME/plugins/PluginMetrics/
|
||||
|
||||
# Make certain files read-only
|
||||
|
||||
echo "[]" > banned-ips.json
|
||||
echo "[]" > banned-players.json
|
||||
echo "[]" > ops.json
|
||||
echo "[]" > whitelist.json
|
||||
|
||||
chmod 400 banned-ips.json
|
||||
chmod 400 banned-players.json
|
||||
chmod 400 ops.json
|
||||
chmod 400 whitelist.json
|
||||
|
||||
dtach -n alivecheck $HOME/script/alivecheck.sh
|
||||
|
||||
while true; do
|
||||
|
|
Loading…
Reference in a new issue