Forum: Cfengine Help
Subject: Re: verify service running
Author: hharun
Link to topic: https://cfengine.com/forum/read.php?3,19200,20861#msg-20861
Correct me if I am wrong..
With this code:
> files:
> "/etc/ssh/sshd_config"
> copy_from => my_scp("$(sys.workdir)/conf/sshd"),
> classes => if_repaired("sshd_reconfigured");
>
> processes:
> sshd_reconfigured::
> "sshd"
> signals => { "hup" },
> process_select => listening_sshd,
> restart_class => restart_sshd;
ssh process restarted BEFORE the file copy.
CF3 agent normal ordering
var
classes
:
processes
storage
:
files
:
...Hazita
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine