mirror of
https://github.com/kaboomserver/buildpack.git
synced 2025-08-05 11:52:54 +00:00
Cron testing
This commit is contained in:
parent
9129f15c45
commit
cb1906402d
2 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,7 @@ BUILD_DIR=$1
|
|||
|
||||
mkdir -p $BUILD_DIR/bin/
|
||||
mv $BIN_DIR/start $BUILD_DIR/bin/
|
||||
mv $BIN_DIR/cron $BUILD_DIR/bin/
|
||||
mv $BIN_DIR/excludes $BUILD_DIR/bin/
|
||||
|
||||
curl -o inotify-tools.deb -s -L "http://security.ubuntu.com/ubuntu/pool/universe/i/inotify-tools/inotify-tools_3.14-2_amd64.deb"
|
||||
|
|
5
bin/cron
Executable file
5
bin/cron
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
killall java
|
||||
rm -rf plugins/ worlds/
|
||||
ssh -i .key -o StrictHostKeyChecking=no serv@kaboom.pw 'rm -rf sync/'
|
||||
reboot
|
Loading…
Add table
Add a link
Reference in a new issue