Skip to main content

No project description provided

Project description


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.


from systemd_watchdog_thread import WatchdogThread

wdt = WatchdogThread()
t =


from systemd_watchdog_thread import run_watchdog 



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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

systemd_watchdog_thread-1.1.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

systemd_watchdog_thread-1.1-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page