Propagates if a specified executable is currently running or not.
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.
The script installs/updates the requiered dependencies in a virtual environment.
Params:
luanti_path(required)listening_address(optional, defaults to127.0.0.1)listening_port(optional, defaults to3000) (The order of params is important)
./env/bin/python3 mtalive.py /home/user/luanti/bin/luantiserver 127.0.0.1 3000Fields for a SystemD Unit
[Service]
WorkingDirectory=/home/user/mtalive
ExecStart=/home/user/mtalive/env/bin/python3 mtalive.py /home/user/luanti/bin/luantiserver 127.0.0.1 3000