watchdog: Bump the pr, depend on the $localfs to fix the systemd init
systemd is using the depedencies of the LSB section and according to the debian documentation all applications accessing /var should depend on the localfs. This makes the watchdog start properly on systemd systems.
This commit is contained in:
parent
9c3b75040a
commit
96c91eb8d6
|
@ -5,8 +5,8 @@
|
|||
### BEGIN INIT INFO
|
||||
# Provides: watchdog
|
||||
# Short-Description: Start software watchdog daemon
|
||||
# Required-Start: $all
|
||||
# Required-Stop: $all
|
||||
# Required-Start: $local_fs
|
||||
# Required-Stop:
|
||||
# Should-Start:
|
||||
# Should-Stop:
|
||||
# Default-Start: S
|
||||
|
@ -67,8 +67,8 @@ case "$1" in
|
|||
force-reload)
|
||||
if [ $run_watchdog = 0 ]; then exit 0; fi
|
||||
echo "Restarting ${NAME}"
|
||||
stop
|
||||
start
|
||||
$0 stop
|
||||
$0 start
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
||||
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}"
|
||||
PRINC = "7"
|
||||
PRINC = "8"
|
||||
|
||||
inherit update-rc.d
|
||||
|
||||
|
|
Loading…
Reference in New Issue