Systemd Watchdog Thread 1.1 | Coderz Product

systemd-watchdog-thread 1.1

Last updated:

0 purchases

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

Free

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: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.