mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 12:32:13 +02:00
watchdog: disable systemd services by default
systemd has internal support for watchdog. See the RuntimeWatchdogSec in /etc/systemd/system.conf. We'd better just disable this service by default. If users want to use watchdog, consider using the systemd one. (From OE-Core rev: 183c9125e78ae1035894600a66b4ea1fa6a3a532) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -40,6 +40,9 @@ INITSCRIPT_PARAMS_${PN}-keepalive = "start 15 1 2 3 4 5 . stop 85 0 6 ."
|
||||
SYSTEMD_PACKAGES = "${PN} ${PN}-keepalive"
|
||||
SYSTEMD_SERVICE_${PN} = "watchdog.service"
|
||||
SYSTEMD_SERVICE_${PN}-keepalive = "wd_keepalive.service"
|
||||
# When using systemd, consider making use of internal watchdog support of systemd.
|
||||
# See RuntimeWatchdogSec in /etc/systemd/system.conf.
|
||||
SYSTEMD_AUTO_ENABLE = "disable"
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${systemd_system_unitdir}
|
||||
|
||||
Reference in New Issue
Block a user