sdwd
sdwd
- SystemD WatchDog crate. Provides simple watchdog notification utilities for easy watchdog
management.
Usage
sdwd-test.service:
[Unit]
Description=sdwd test daemon
[Service]
ExecStart=sdwd-test
WatchdogSec=30s
Restart=on-failure
src/main.rs:
extern crate sdwd;
Read about watchdogs
https://www.freedesktop.org/software/systemd/man/systemd.service.html
https://www.freedesktop.org/software/systemd/man/sd_watchdog_enabled.html
License
This project is licensed under the MIT license.