I have monit watching a process and killing it if it's running for too long. I do not want this process to be automatically restarted, however. I don't have a start program
specified, but each cycle, monit logs that it can't restart the process. Is there any way to tell monit not to try to restart the process and/or suppress it from the log?
check process libreoffice matching soffice.bin
if uptime > 2 then exec "/usr/bin/killall --older-than 2m soffice.bin"