]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: allow "off" as special watchdog time to be specified
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Oct 2021 11:06:03 +0000 (13:06 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 13 Oct 2021 11:10:34 +0000 (13:10 +0200)
commitc91c95e66c50b590fbc0d4b7b464c56978100596
tree23e69e377fb245ce9a9d7867670ee5ae42f8d284
parentb6e44cd934873659f233bfd962e4a0dcb3026e59
core: allow "off" as special watchdog time to be specified

Right now we already understand "default" as special string for enabling
the watchdog but not reconfiguring its timeout (it is internally mapped
to USEC_MAX). To be systematic this adds "off" as special string for
disabling the watchdog logic (it is internally mapped to 0, which is how
this behaviour was previously requested).
src/core/load-fragment.c
src/core/main.c
src/core/system.conf.in