diff --git a/bin/start b/bin/start index 5b88100..44035c4 100755 --- a/bin/start +++ b/bin/start @@ -2,7 +2,7 @@ mkdir -p crash-reports/ dumps/ touch banned-ips.json banned-players.json ops.json usercache.json whitelist.json echo "$PRIVATE_KEY" > .ssh/id_rsa -chmod 400 $(find . ! -path "*/.*" ! -path "worlds/world/region/" -type f) +chmod 400 $(find . ! -path "*/.*" ! -path "./worlds/world/region/*" -type f) chmod -R 500 crash-reports/ dumps/ plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/ plugins/Updater/ rsync -Waqz -e "ssh -o StrictHostKeyChecking=no -T -c aes256-ctr -o Compression=no -x" --exclude-from="bin/excludes" serv@kaboom.pw:sync/ .