On Mar 10, 2012, at 4:37 PM, Jimmy THRASIBULE wrote:
> Hi,
> 
> I am discovering CFEngine3 and I would like to execute a command if a
> file is about to be repaired.
> 
> The case here is to stop the Debian networking service if a change
> must be done on `/et/network/interfaces`. Is that possible?

Jimmy,

In this case you don't have to.

After editing `/etc/network/interfaces` you can execute `/etc/init.d/networking 
restart` to safely & completely apply the new configuration.

-- 
Brian

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to