[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Before I fix this

From: Rory Toma
Subject: Re: Before I fix this
Date: Fri, 06 Feb 2015 13:20:10 -0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

The delay isn't optimal for me, as it is a non-deterministic time that I have to deal with, and boot time is of importance. thanks.

On 2/6/15 9:56 AM, Sean Penticoff wrote:
you can set a delay for startup in monit

## Start Monit in the background (run as a daemon):
set daemon  120              # check services at 1-minute intervals
with start delay 240 # optional: delay the first check by 4-minutes (by

we have a service that runs on first boot that does stuff like updates and time sync and it disables itself as a last step so you could do something like that.

# myfirstboot updates then reboots
# chkconfig: 2345 11 20
# description: long description

case "$1" in
    /bin/puppet agent -t
    /bin/yum -y update
    /sbin/ntpdate -u
    /sbin/chkconfig myfirstboot off
    # do nothing

To unsubscribe:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]