- changed status to wontfix
would it be possible for Monit to only restart a service if the service is enabled ?
Issue #16
wontfix
This is particularly useful when a process associated with a service is disabled via the chkconfig command.
Say if process atd is NOT running and chkconfig is set to not start the service at the current runlevel
atd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Can Monit be instructed to have it not restart ?
Its implied course that this would only be applicable with processes associated with an actual /etc/init.d/<service>
Comments (5)
-
repo owner -
Account Deactivated reporter Thanks so much for considering it, I can see how that would be lots of work for a wide variety of OS's .. I have solved my problem by writing a service wrapper that can take a switch that will only execute the service start if enabled.
-
repo owner - changed component to 1. Monit
-
repo owner - changed component to Monit
-
repo owner - removed version
Removing version: 5.8 (automated comment)
- Log in to comment
Integration of Monit configuration with chkconfig is out of Monit scope. Each linux distribution and other platforms have their own service management interfaces ... chkconfig is just "one of".