Forum: Cfengine Help Subject: Re: how do you restart a process only after .conf update? Author: Sal Link to topic: https://cfengine.com/forum/read.php?3,19969,19971#msg-19971
I think I've come up with my own solution. At least the ntpd process is no longer auto restarting every 20 minutes. I still need to change ntp.conf to test but here is the new syntax: files: any.!ntp_servers:: "$(ntp_conf_dest)" perms => system("644"), copy_from => mycopy("$(master_etc)/ntp/$(ntp_conf_source)","$(p_server)"), classes => satisfied("ntpd_ready"); commands: ntpd_ready:: "/etc/init.d/ntpd restart"; The examples show this is the way to do this. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine