mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-06-01 17:31:18 +00:00
Minor changes
This commit is contained in:
parent
799dd674ca
commit
979c6d2e46
|
@ -2,5 +2,4 @@
|
|||
BIN_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
BUILD_DIR=$1
|
||||
|
||||
mkdir -p $BUILD_DIR/.bin/
|
||||
mv $BIN_DIR/start $BUILD_DIR/.bin/
|
||||
mv $BIN_DIR/start $BUILD_DIR/
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
cat <<EOF
|
||||
---
|
||||
default_process_types:
|
||||
worker: .bin/start
|
||||
worker: start
|
||||
EOF
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
#!/bin/bash
|
||||
mkdir -p dumps/
|
||||
echo "$REMOTE_KEY" > .ssh/remote
|
||||
echo "$SYNC_KEY" > .ssh/id_rsa
|
||||
chmod 600 .ssh/remote
|
||||
chmod -R 500 dumps/ plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/
|
||||
|
||||
ssh-keyscan notabug.org >> .ssh/known_hosts
|
||||
ssh-keyscan play.kaboom.pw >> .ssh/known_hosts
|
||||
|
||||
mkdir -p dumps/
|
||||
chmod -R 500 dumps/ plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/
|
||||
|
||||
git clone git@notabug.org:kaboom/schematics.git plugins/WorldEdit/schematics/
|
||||
|
||||
./tmux new -d -s server 'while true; do
|
||||
|
@ -14,7 +17,7 @@ git clone git@notabug.org:kaboom/schematics.git plugins/WorldEdit/schematics/
|
|||
done'
|
||||
|
||||
./tmux new -d -s remote 'while true; do
|
||||
ssh -i ~/.ssh/remote -o Compression=no -o ExitOnForwardFailure=yes -o StreamLocalBindUnlink=yes -o StrictHostKeyChecking=no -c aes128-gcm@openssh.com -S none -N -T -R 64518:localhost:25565 serv@play.kaboom.pw
|
||||
ssh -i ~/.ssh/remote -o Compression=no -o ExitOnForwardFailure=yes -o StreamLocalBindUnlink=yes -c aes128-gcm@openssh.com -S none -N -T -R 64518:localhost:25565 serv@play.kaboom.pw
|
||||
sleep 1
|
||||
done'
|
||||
|
||||
|
|
Loading…
Reference in a new issue