Page MenuHomeFreeBSD

watchdog: Add no-daemon mode and '-t -1' option
Needs ReviewPublic

Authored by jhibbits on Mar 10 2026, 3:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 13, 8:49 AM
Unknown Object (File)
Sat, Aug 8, 3:45 PM
Unknown Object (File)
Fri, Jul 31, 9:27 AM
Unknown Object (File)
Tue, Jul 28, 6:53 AM
Unknown Object (File)
Sun, Jul 26, 9:29 AM
Unknown Object (File)
Sat, Jul 25, 11:31 PM
Unknown Object (File)
Fri, Jul 24, 8:22 PM
Unknown Object (File)
Wed, Jul 22, 11:16 PM
Subscribers

Details

Reviewers
jhb
imp
phk
Summary

In order to be managed by alternatives to init, equivalents to systemd
or launchd, watchdogd needs to able to run without daemonizing. Along
with this, it is useful for watchdogd to simply reuse the watchdog
timeout set at startup, so make '-1' a valid timeout to denote reading
the timeout from the driver.

Obtained from: Hewlett Packard Enterprise

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 71315
Build 68198: arc lint + arc unit

Event Timeline

jhibbits created this revision.

Intersting, can you elaborate on

Obtained from: Hewlett Packard Enterprise

Thank you!