The -d option is not necessary if 'set daemon <number_seconds>' is used in
monit configuration file - monit will then start in daemon mode and test
services every x seconds.
For example (test every 180s ... no need for '-d 180' command line option):
set daemon 180
Best regards,
Martin
On Jul 22, 2010, at 3:00 PM, Gary wrote:
> An alternative to reverting the /etc/init.d/monit to Lenny behaviour
> might be to add a new variable to /etc/default/monit
> MONIT_OPTS="-d 180"
> # We default to 180s (3min) check intervals
>
> That way /etc/init.d/monit might have a line
> ARGS="$MONIT_OPTS -c $CONFIG -s /var/lib/monit/monit.state"
>
> This maintains the behaviour that people are used to from stable Debian,
> and also might allow the flexibility to meet wishlist #541425
>
> For very specific local requirement where a user needs to introduce a
> start delay,
> then emptying MONIT_OPTS
> so that MONIT_OPTS='' in /etc/default/monit
> allows the setting of any non regular settiing through other means
>
> ssh has a similar system
> #grep OPTS /etc/default/ssh
> SSHD_OPTS=
> ( on some systems SSHD_OPTS is non empty to meet a local requirement )
> Experienced ssh users will know where to set enviroment variables and
> per user ssh config files, if they want something very specific.
>
> On 22 July 2010 00:45, Debian Bug Tracking System <[email protected]>
> wrote:
>> Thank you for filing a new Bug report with Debian.
>
>
>
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]