script:/var/cfengine/cf-execd.cf

From Dgiref
Jump to: navigation, search
#######################
# cf-execd.cf
#######################
 
body executor control {
     splaytime => "1";
     mailto => "root@example.com";
     smtpserver => "192.168.0.1";
     mailmaxlines => "100";
     schedule => { "Min15_20", "Min45_50" };
     executorfacility => "LOG_DAEMON";
}
 
bundle agent executor {
 
     processes:
 
        "cf-execd"
        restart_class => "start_cfexecd";
 
     commands:
 
        start_cfexecd::
        "${g.workdir}/bin/cf-execd";
 
}
 
# cf-execd is also added to the root cron table in the cron inputs section.
Personal tools