Forum: Cfengine Help
Subject: Re: Cfengine Help: problem restarting services
Author: cell
Link to topic: https://cfengine.com/forum/read.php?3,18674,18694#msg-18694
thanks guys,
it helped a lot, and now it's working like charm, like I im
Forum: Cfengine Help
Subject: Re: Cfengine Help: problem restarting services
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18674,18676#msg-18676
See page four here:
https://cfengine.com/inside/document/SpecialTopic_Modules.pdf
One simple solution would be to define an array that maps service to process...
What I show below is a quick kludge (if /etc/init.d/bind fails, then try
/etc/init.d/bind9), but you could be neater and make something that uses
isvariable(). Or you could simply define an array element for *every
Forum: Cfengine Help
Subject: problem restarting services
Author: cell
Link to topic: https://cfengine.com/forum/read.php?3,18669,18669#msg-18669
Hi,
I've got problem with restarting some services. If the name of service
(/etc/init.d/service) and running process is the same, then everything is