Solved Delay Jails and Applications as System Boots Up

How can I delay jail(s) or applications in it or host from immediately starting when a machine boots up? I am referring to a utility like sleep.


I cannot afford to tweak the configuration and system files. I have seen it degrade system performance. I would rather prefer to delay some applications from starting as the machine boots up.
 
I thought about that long ago. I was not sure it will do the job well enough.

I have applications with "*_enable=YES" in the rc.conf. I am thinking the rc.conf might override the delay in crons. Of course, I could remove the few settings in rc.conf for crons.

In addition, that cron can't be used to delay a jail (but apps in it) from starting at boot time.
 
Monit seems to be doing a good job. I revisited it hours ago.

Basically, all services I wanted to delay now have *_enable="NO" in rc.conf but Monit is configured to restart them when stopped.

Interestingly, one can delay when Monit starts. All good for now.
 
Back
Top