A simple process alive checker w/ webserver support.
The server will listen on ADDRESS:PORT/mtalive
You must have the following packets installed:
python3
(tested w/ 3.10.x)git
(update script)
To install mtalive, clone the repo and run update.sh
.
To update mtalive, simply run update.sh
again.
Params:
minetest_path
(required)listening_address
(optional, defaults to127.0.0.1
)listening_port
(optional, defaults to3000
)
(The order of params is important)
./mtalive/env/bin/python3 mtalive.py /home/user/minetest/bin/minetest 127.0.0.1 3000
Make sure to activate the Python venv/use the Python binary from the env
folder.