buildpack/bin/start

23 lines
592 B
Plaintext
Raw Normal View History

#!/bin/sh
2019-09-02 22:54:19 +00:00
PATH="$HOME/autossh/bin/:$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
2019-06-24 10:27:46 +00:00
ssh-keyscan github.com >> .ssh/known_hosts
2019-02-23 18:19:01 +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'
2019-08-06 18:00:02 +00:00
tmux new -d -s schematics 'sh -x script/schematics'
2018-05-25 16:49:13 +00:00
2019-08-06 18:08:06 +00:00
sleep 30
2018-11-13 04:08:36 +00:00
2019-08-06 18:00:02 +00:00
tmux new -d -s alivecheck 'sh -x script/alivecheck'
2018-11-11 19:45:48 +00:00
2018-06-10 05:22:56 +00:00
sleep infinity