On 23 dec 2010, at 11:14, [email protected] wrote: > Forum: Cfengine Help > Subject: processes: warn if not running but not restart [cfengine2] > Author: raffen > Link to topic: https://cfengine.com/forum/read.php?3,19928,19928#msg-19928 > > Is there a way to just warn/alert if a process is not running *without* > restarting it? > > processes: > "vsftpd" restart "/etc/init.d/vsftpd start" inform=true >
If my memory is correct you must add: action=warn to the statement -- Bas van der Vlies [email protected] _______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
