diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-06-13 15:58:22 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-18 11:07:57 +0100 |
commit | 8aee3cce93666c758c9f01ffbcbdb8da915cb2dc (patch) | |
tree | c738c1724394a97bf2c45b2b8ddd32df89ccbff5 /meta/recipes-extended/watchdog | |
parent | 459d92e98d0021fa336da8c11b36ca701f224617 (diff) | |
download | poky-8aee3cce93666c758c9f01ffbcbdb8da915cb2dc.tar.gz |
watchdog: make init script start after syslog
We need to make sure logs are not lost. As long as there's no
strong and vaild reason, we should make daemons start after syslog.
As a side effect, we could check the logs to see if there are
some potential problem. In OE, the 'parselogs' test case could
do it automatically.
(From OE-Core rev: 41e4d728ef92586e2714fa0c136b838c3fda051e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/watchdog')
-rw-r--r-- | meta/recipes-extended/watchdog/watchdog_5.15.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/watchdog/watchdog_5.15.bb b/meta/recipes-extended/watchdog/watchdog_5.15.bb index bfaed9ad96..8353ec0d20 100644 --- a/meta/recipes-extended/watchdog/watchdog_5.15.bb +++ b/meta/recipes-extended/watchdog/watchdog_5.15.bb | |||
@@ -32,10 +32,10 @@ EXTRA_OECONF += " --disable-nfs " | |||
32 | INITSCRIPT_PACKAGES = "${PN} ${PN}-keepalive" | 32 | INITSCRIPT_PACKAGES = "${PN} ${PN}-keepalive" |
33 | 33 | ||
34 | INITSCRIPT_NAME_${PN} = "watchdog.sh" | 34 | INITSCRIPT_NAME_${PN} = "watchdog.sh" |
35 | INITSCRIPT_PARAMS_${PN} = "start 15 1 2 3 4 5 . stop 85 0 6 ." | 35 | INITSCRIPT_PARAMS_${PN} = "start 25 1 2 3 4 5 . stop 85 0 6 ." |
36 | 36 | ||
37 | INITSCRIPT_NAME_${PN}-keepalive = "wd_keepalive" | 37 | INITSCRIPT_NAME_${PN}-keepalive = "wd_keepalive" |
38 | INITSCRIPT_PARAMS_${PN}-keepalive = "start 15 1 2 3 4 5 . stop 85 0 6 ." | 38 | INITSCRIPT_PARAMS_${PN}-keepalive = "start 25 1 2 3 4 5 . stop 85 0 6 ." |
39 | 39 | ||
40 | SYSTEMD_PACKAGES = "${PN} ${PN}-keepalive" | 40 | SYSTEMD_PACKAGES = "${PN} ${PN}-keepalive" |
41 | SYSTEMD_SERVICE_${PN} = "watchdog.service" | 41 | SYSTEMD_SERVICE_${PN} = "watchdog.service" |