minecraft bedrock graceful stop

This commit is contained in:
Matthew Tran
2024-09-17 00:31:10 +00:00
parent 7f7367c74d
commit c888f10a52
4 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/sh
cleanup() {
./mcrcon -p password stop
./rcon-cli --password password stop
}
trap 'cleanup' TERM