Re: FreeBSD bootup service start issues

Lutz Mader via This is the general mailing list for monit <[email protected]> Wed, 29 Apr 2026 20:32:27 +0200
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hello,
if you only want to monitor a specific process, use the "mode passive"
for the service.
This prevents Monit from (re)starting the process, but the process
status remains available in Monit.

The suggestion, to use the "onreboot nostart" option prevents Monit from
starting the process after a reboot, but sets the monitoring status to
"Not monitored."
Therefore, as long as you do not enable monitoring for the service,
Monit will not monitor the process. The service status is "Not monitored".

Generally, a process should only be started using one method.
The "rc" start script should generally handle this well enough.
But additional processes can be monitored by Monit.

See posting from "Bob Proulx",
a suggestion only,
Lutz

See also
https://mmonit.com/monit/documentation/monit.html#SERVICE-MONITORING-MODE
https://mmonit.com/monit/documentation/monit.html#SYSTEM-REBOOT-AND-SERVICE-STARTUP


Am 28.04.26 um 19:25 schrieb Marco Moock:
> Am 28.04.26 um 00:25 schrieb Luca Cazzaniga:
>> set onreboot norestart
>> As described here
>> https://mmonit.com/monit/documentation/monit.html#SYSTEM-REBOOT-AND-
>> SERVICE-STARTUP
> 
> set onreboot nostart
> 
> is the right option.
>