From 049332231a8c7d3ffa23c6b5ebd6f54af7145abd Mon Sep 17 00:00:00 2001 From: mathias Date: Wed, 11 Jul 2018 17:29:48 +0300 Subject: [PATCH] Make java executable --- bin/start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/start b/bin/start index 16b8b27..79272d5 100755 --- a/bin/start +++ b/bin/start @@ -4,7 +4,7 @@ touch banned-ips.json banned-players.json ops.json usercache.json whitelist.json echo "$PRIVATE_KEY" > .ssh/id_rsa chmod 400 $(find . ! -path "*/.*" -type f) chmod -R 500 crash-reports/ dumps/ plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/ plugins/Updater/ -chmod +x bin/tmux +chmod +x bin/java/bin/java bin/tmux if [ "$(ssh -o StrictHostKeyChecking=no -T -c aes256-ctr -o Compression=no -x serv@kaboom.pw 'du -s sync/worlds/' | awk '{print $1}')" -gt "500000" ]; then ssh -o StrictHostKeyChecking=no serv@kaboom.pw 'cd sync/ && find . ! -path './plugins/WorldEdit/schematics' -type d -exec rm -rf {} +'