2019-08-06 17:42:16 +00:00
|
|
|
#!/bin/sh
|
2019-02-23 18:53:10 +00:00
|
|
|
PATH="$HOME/java/bin/:$HOME/tmux/bin/:$PATH"
|
2019-02-23 18:49:15 +00:00
|
|
|
|
2019-02-02 23:40:25 +00:00
|
|
|
echo "$REMOTE_KEY" > .ssh/remote
|
|
|
|
echo "$SYNC_KEY" > .ssh/id_rsa
|
|
|
|
chmod 600 .ssh/remote
|
2018-07-05 20:51:43 +00:00
|
|
|
|
2019-06-24 10:27:46 +00:00
|
|
|
ssh-keyscan github.com >> .ssh/known_hosts
|
2019-02-23 18:19:01 +00:00
|
|
|
|
2019-03-09 20:34:13 +00:00
|
|
|
chmod -R 500 plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/
|
2019-02-23 18:19:01 +00:00
|
|
|
|
2019-07-24 01:55:40 +00:00
|
|
|
git clone git@github.com:kaboomserver/schematics.git plugins/FastAsyncWorldEdit/schematics/
|
2018-05-25 16:49:13 +00:00
|
|
|
|
2019-08-06 17:52:40 +00:00
|
|
|
tmux new -d -s server 'sh -x script/server'
|
|
|
|
tmux new -d -s remote 'sh -x script/remote'
|
|
|
|
tmux new -d -s sync_schematics 'sh -x script/schematics'
|
2018-05-25 16:49:13 +00:00
|
|
|
|
2019-08-06 16:01:07 +00:00
|
|
|
#sleep 90
|
2018-11-13 04:08:36 +00:00
|
|
|
|
2019-08-06 17:52:40 +00:00
|
|
|
tmux new -d -s check_server 'sh -x script/alivecheck'
|
2018-11-11 19:45:48 +00:00
|
|
|
|
2018-06-10 05:22:56 +00:00
|
|
|
sleep infinity
|