[Top][All Lists]

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

RE: copy action trigger another action

From: Zhang, Anchi
Subject: RE: copy action trigger another action
Date: Thu, 9 Jan 2003 13:22:12 -0600

That is something desirable.  At the moment, I am resorting to something like

                '/bin/find /etc/mail/aliases -mtime -1 -exec /bin/newaliases {} 

after copy.


-----Original Message-----
From: Nate Campi [mailto:address@hidden
Sent: Thursday, January 09, 2003 10:41 AM
To: address@hidden
Subject: copy action trigger another action

I'm interested in people's thoughts on whether it would be useful to
have successful copies trigger an action. I'm thinking along the lines
of sending a HUP to a daemon when it's config file is updated.

With most daemons it is fine to simply HUP every time cfagent runs, but
with syslog-over-tcp my connections drop and have to restablish every
time the syslog daemon is HUP'd. During the period that the connection
is waiting to re-establish (one minute) the buffering logs might
overflow and start getting dropped before being sent on to the loghost
when the connection is re-established.

I'd imagine I could write a cfengine module to do this, but I'm not much
of a programmer and would rather it was implemented in the core and done

Nate Campi 

"A round man cannot be expected to fit in a square hole right away. He 
must have time to modify his shape." - Samuel Clemens

Help-cfengine mailing list

reply via email to

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