Forum: Cfengine Help
Subject: signalling processes
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17696,17696#msg-17696

Hello folks,

We've faced a problem trying to make a process to restart. According to the 
reference, the following promise is expected to send TERM and then KILL to a 
process:


processes:
    config_changed::
         "daemon"
                  signals           => { "term", "kill" },
                  restart_class => "restart_daemon";


Our experiments have proven that only TERM is actually sent. This results in 
unwanted things to happen.

Is it a bug or misunderstanding? Should KILL be sent if process is still alive 
after TERM, or did I get it wrong?

_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to