systemd-watchdog-thread 1.1

Creator: bradpython12

Last updated:

0 purchases

systemd-watchdog-thread 1.1 Image
systemd-watchdog-thread 1.1 Images

Languages

Categories

Add to Cart

Description:

systemdwatchdogthread 1.1

systemd-watchdog-thread
Runs systemd notifies in thread.
When run() is called it sends the READY message to systemd and then
sends WATCHDOG messages at one-half the interval set by the WATCHDOG_USEC
environment variable.
It runs as a daemon thread,
so it will exit when the main program exits.
usage
from systemd_watchdog_thread import WatchdogThread

wdt = WatchdogThread()
t = wdt.run()

or
from systemd_watchdog_thread import run_watchdog

run_watchdog()

testing
finish() may be called to stop sending READY messages. This is provided to test
the systemd watchdog functionality.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.