On 23 dec 2010, at 11:14, no-re...@cfengine.com 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
b...@sara.nl



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

Reply via email to