Skip to content
Snippets Groups Projects
Commit 2246e285 authored by Adam Wujek's avatar Adam Wujek :speech_balloon:
Browse files

userspace/monit: add conf files for hal, rtud and ppsi


When hal crash, monit will trigger rtud and ppsi to restart.
When rtud or ppsi crash, only crashed process will be restarted.

Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
parent 4b773050
Branches
Tags
No related merge requests found
check process wrsw_hal matching /wr/bin/wrsw_hal
start program = "/etc/init.d/hald.sh start"
stop program = "/etc/init.d/hald.sh stop"
if 5 restarts within 10 cycles then exec "/etc/init.d/reboot.sh hald"
check process ppsi matching /wr/bin/ppsi
start program = "/etc/init.d/ppsi.sh start"
stop program = "/etc/init.d/ppsi.sh stop"
if 5 restarts within 10 cycles then exec "/etc/init.d/reboot.sh ppsi"
depends on wrsw_hal
check process wrsw_rtud matching /wr/bin/wrsw_rtud
start program = "/etc/init.d/rtud.sh start"
stop program = "/etc/init.d/rtud.sh stop"
if 5 restarts within 10 cycles then exec "/etc/init.d/reboot.sh rtud"
depends on wrsw_hal
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment