• Jean-Claude BAU's avatar
    Bug fix: Monit errors appearing in syslog at startup · 65970bde
    Jean-Claude BAU authored
    As monit process is started after other processes, it does not take into
    account  the 'unmonitor' messages sent from start scripts (ldap.sh,
    ...). This generates error messages at startup.
    
    To avoid that, the configuration of monit is set now dynamically in the
    apply_dotconfig script. All disabled processes are then removed from the
    configuration to avoid errors due to process start order.
    Also the first monitoring cycle is postponed by 30s at startup.
    65970bde
monitrc 3.14 KB