mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2026-06-28 01:58:34 +00:00
migrate to coreos
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ cleanup() {
|
||||
./rcon-cli --password password stop
|
||||
}
|
||||
|
||||
trap 'cleanup' TERM
|
||||
trap 'cleanup' SIGTERM SIGINT
|
||||
|
||||
java -Xmx1024M -Xms1024M -jar server.jar nogui &
|
||||
wait $! # wait for SIGTERM
|
||||
|
||||
Reference in New Issue
Block a user