|
|
|
@ -5,7 +5,7 @@ is_running_command = systemctl is-active --quiet minecraft
|
|
|
|
listen_port = 25565
|
|
|
|
listen_port = 25565
|
|
|
|
listen_host = 0.0.0.0
|
|
|
|
listen_host = 0.0.0.0
|
|
|
|
check_command = grep "There are [1-9][0-9]* of" <(/var/local/minecraft/mcrcon -H 127.0.0.1 -p password list)
|
|
|
|
check_command = grep "There are [1-9][0-9]* of" <(/var/local/minecraft/mcrcon -H 127.0.0.1 -p password list)
|
|
|
|
check_interval_sec = 10
|
|
|
|
check_interval_sec = 60
|
|
|
|
idle_limit_sec = 1200
|
|
|
|
idle_limit_sec = 1200
|
|
|
|
startup_delay_sec = 20
|
|
|
|
startup_delay_sec = 20
|
|
|
|
|
|
|
|
|
|
|
|
@ -18,4 +18,4 @@ listen_host = 0.0.0.0
|
|
|
|
check_command = grep -q '^[1-9][0-9]*$' <(curl -sL -X GET 'http://admin:poopa@192.168.1.21:8212/v1/api/players' -H 'Accept: application/json' | jq -r '.players | length')
|
|
|
|
check_command = grep -q '^[1-9][0-9]*$' <(curl -sL -X GET 'http://admin:poopa@192.168.1.21:8212/v1/api/players' -H 'Accept: application/json' | jq -r '.players | length')
|
|
|
|
check_interval_sec = 60
|
|
|
|
check_interval_sec = 60
|
|
|
|
idle_limit_sec = 3600
|
|
|
|
idle_limit_sec = 3600
|
|
|
|
startup_delay_sec = 60
|
|
|
|
startup_delay_sec = 20
|
|
|
|
|