Skip to content

Query Status and Shutdown Daemon

Compare
Choose a tag to compare
@ravelox ravelox released this 11 Oct 02:28
· 194 commits to master since this release

This release gives the ability to do a simple heartbeat check over the port defined by network.local.port. The python script python/status_send.py tests this. By sending the string "STAT" to the port, the daemon will return OK if alive.

Also, the same port can be used to shut down the daemon. The python script python/send_quit.py tests this. By sending the string "QUIT" to the port, the daemon will return "QT" and shutdown.