Skip to main content

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.

Metadata

Release files for systemd-watchdog-thread 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for systemd-watchdog-thread 1.1
File Size Uploaded Provenance Actions
systemd_watchdog_thread-1.1.tar.gz 3.9 kB Without provenance Details for systemd_watchdog_thread-1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for systemd-watchdog-thread 1.1
File Interpreter ABI Platform Actions
systemd_watchdog_thread-1.1-py3-none-any.whl Python 3 none any Details for systemd_watchdog_thread-1.1-py3-none-any.whl

Total release size: 8.4 kB

Release files / systemd_watchdog_thread-1.1.tar.gz

Download URL systemd_watchdog_thread-1.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e8ea1b75b522a2c1e0fbe2b9fecaf957c99f4d6085bdc394aea6a6a9a1ca82b3
BLAKE2b-256 checksum
How to use checksums
0a96e332fd892a062e57f447342eddae022c9c35c355ccd895e8677a38cbede7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/69.2.0 requests-toolbelt/0.8.0 tqdm/4.64.1 CPython/3.8.10

Release files / systemd_watchdog_thread-1.1-py3-none-any.whl

Download URL systemd_watchdog_thread-1.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b67e89e1b28adcc08cd0dd8e0c8c09e4a283e8cb9a93690e70b2f73ee49298f
BLAKE2b-256 checksum
How to use checksums
fa5b5b02c5c42b3e8d42e08e27142142e49eb2c91b4b374d361939a110305d7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/69.2.0 requests-toolbelt/0.8.0 tqdm/4.64.1 CPython/3.8.10

Security for systemd-watchdog-thread 1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page