mirror of
https://github.com/kaboomserver/buildpack.git
synced 2025-08-05 11:52:54 +00:00
Minor changes
This commit is contained in:
parent
799dd674ca
commit
979c6d2e46
3 changed files with 8 additions and 6 deletions
|
@ -2,5 +2,4 @@
|
||||||
BIN_DIR="$(cd "$(dirname "$0")" && pwd)"
|
BIN_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||||
BUILD_DIR=$1
|
BUILD_DIR=$1
|
||||||
|
|
||||||
mkdir -p $BUILD_DIR/.bin/
|
mv $BIN_DIR/start $BUILD_DIR/
|
||||||
mv $BIN_DIR/start $BUILD_DIR/.bin/
|
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
---
|
---
|
||||||
default_process_types:
|
default_process_types:
|
||||||
worker: .bin/start
|
worker: start
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
mkdir -p dumps/
|
|
||||||
echo "$REMOTE_KEY" > .ssh/remote
|
echo "$REMOTE_KEY" > .ssh/remote
|
||||||
echo "$SYNC_KEY" > .ssh/id_rsa
|
echo "$SYNC_KEY" > .ssh/id_rsa
|
||||||
chmod 600 .ssh/remote
|
chmod 600 .ssh/remote
|
||||||
chmod -R 500 dumps/ plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/
|
|
||||||
|
|
||||||
ssh-keyscan notabug.org >> .ssh/known_hosts
|
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/
|
git clone git@notabug.org:kaboom/schematics.git plugins/WorldEdit/schematics/
|
||||||
|
|
||||||
./tmux new -d -s server 'while true; do
|
./tmux new -d -s server 'while true; do
|
||||||
|
@ -14,7 +17,7 @@ git clone git@notabug.org:kaboom/schematics.git plugins/WorldEdit/schematics/
|
||||||
done'
|
done'
|
||||||
|
|
||||||
./tmux new -d -s remote 'while true; do
|
./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
|
sleep 1
|
||||||
done'
|
done'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue