help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

/etc/inittab, editfiles and kill -HUP 1


From: Matt Armstrong
Subject: /etc/inittab, editfiles and kill -HUP 1
Date: 19 May 2001 08:27:17 -0700
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

Is there a way for the execution of a given 'editfiles' command to
also run a shell script?

E.g. I have an AppendIfNoSuchLine that adds a service to /etc/inittab.
If the line is appended, I'd like to run 'kill -HUP 1'.

But I don't want to 'kill -HUP 1' unecessarily.

-- 
matt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]