2019-08-06 20:42:16 +03:00
|
|
|
#!/bin/sh
|
2019-09-21 16:21:59 +03:00
|
|
|
PATH="$HOME/autossh/bin/:$HOME/java/bin/:$HOME/tmux/bin/:$HOME/ttyd/bin/:$PATH"
|
2019-02-23 20:49:15 +02:00
|
|
|
|
2019-02-03 01:40:25 +02:00
|
|
|
echo "$REMOTE_KEY" > .ssh/remote
|
|
|
|
echo "$SYNC_KEY" > .ssh/id_rsa
|
|
|
|
chmod 600 .ssh/remote
|
2018-07-05 23:51:43 +03:00
|
|
|
|
2019-06-24 13:27:46 +03:00
|
|
|
ssh-keyscan github.com >> .ssh/known_hosts
|
2019-02-23 20:19:01 +02:00
|
|
|
|
2019-11-30 18:18:45 +02:00
|
|
|
chmod -R 500 plugins/bStats/ plugins/PluginMetrics/
|
2019-02-23 20:19:01 +02:00
|
|
|
|
2019-07-24 04:55:40 +03:00
|
|
|
git clone git@github.com:kaboomserver/schematics.git plugins/FastAsyncWorldEdit/schematics/
|
2018-05-25 19:49:13 +03:00
|
|
|
|
2019-09-05 00:16:35 +03:00
|
|
|
while true; do
|
2019-09-21 17:11:47 +03:00
|
|
|
tmux new -d -s server 'sh -c script/server' >/dev/null
|
2019-09-21 06:55:25 +03:00
|
|
|
tmux new -d -s remote 'sh -x script/remote' >/dev/null
|
2019-09-27 21:22:06 +03:00
|
|
|
#tmux new -d -s webconsole 'sh -x script/webconsole' >/dev/null
|
2019-09-21 06:55:25 +03:00
|
|
|
tmux new -d -s schematics 'sh -x script/schematics' >/dev/null
|
2019-09-05 00:16:35 +03:00
|
|
|
sleep 5
|
2019-09-17 21:21:00 +03:00
|
|
|
done &
|
2018-05-25 19:49:13 +03:00
|
|
|
|
2018-06-10 08:22:56 +03:00
|
|
|
sleep infinity
|