[Top][All Lists]

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

conditionally signalling processes

From: Alan Sparks
Subject: conditionally signalling processes
Date: Tue, 21 Nov 2000 14:45:07 -0700

Looking at the source I don't think this is possible... but I'll ask to
make sure.

I'd like to write a rule that verifies only one copy of a daemon is
running, and restarts the mess if (say) either zero or more than one
copy is running.  Conceptually something stated like:

"foobar"        matches=1 signal=term restart "/bin/foobar"

But I see that cfengine will always send the signal to any match,

Is there a better way to handle this aside from isolating the restarts
into a shellcommand and trying to set classes?


Alan Sparks, Sr. UNIX Administrator     address@hidden
Quris, Inc.                             (720) 836-2058

reply via email to

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