On Wed, Nov 10, 2010 at 06:53:56PM -0500, Sandra Wittenbrock wrote:
>Hi,
>
>What would be the command to make sure a service (sysctl, firewall, etc)
>is running, and/or restart it when cfengine updates the config files?
I just recently added this snippet for checking a service that may be
"runnin
On Fri, Mar 4, 2011 at 4:22 AM, Jonathan Clarke wrote:
>
> I have [...] become maniacal about always
> using the full path name of an executable in processes promises, eg:
>
> processes:
> "/usr/sbin/cupsd"
> etc
>
> This avoids the "mycupsarefull" problem, and the
> more-com
Forum: Cfengine Help
Subject: Re: verify service running
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19200,20956#msg-20956
There is an overlap in configuration management and monitoring but there is
also a difference. Monitoring reports trouble. Configuration
Hi Aleksey,
On 11/11/10 00:34, Aleksey Tsalolikhin wrote:
> check that CUPS (printer service) is running by checking the "ps" output, and
> if regex match for "cups" fails, restarting cups:
>
> --- start cfengine config
> body common control
>
> {
> bundlesequence => { "check_cups_running"
Forum: Cfengine Help
Subject: Re: verify service running
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19200,20862#msg-20862
Only if the class sshd_reconfigured is defined. Cfengine passes through each
bundle three times to account for ordering and new class
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(&qu
On Wed, Nov 10, 2010 at 10:40 PM, Seva Gluschenko
wrote:
> Alexey, take it easier
>
> Usually if you're restarting a service upon its configuration file(s)
> change, you put those files under Cfengine management as well, so that
> Sandra's question about files is being solved pretty easy like
>
>
Forum: Cfengine Help
Subject: Re: verify service running
Author: demostat
Link to topic: https://cfengine.com/forum/read.php?3,19200,19208#msg-19208
Hi,
My two cents, an example for debian...
if listed service-s (ssh, ntp, etc) are not running, start them
vars:
debian
Alexey, take it easier
Usually if you're restarting a service upon its configuration file(s)
change, you put those files under Cfengine management as well, so that
Sandra's question about files is being solved pretty easy like
files:
"/etc/ssh/sshd_config"
copy_from => my_scp("$(
On Wed, Nov 10, 2010 at 3:53 PM, Sandra Wittenbrock
wrote:
> Hi,
>
> What would be the command to make sure a service (sysctl, firewall, etc)
> is running, and/or restart it when cfengine updates the config files?
Here is what I use on a Linux server - if somebody has a better way, I would
love t
Hi,
What would be the command to make sure a service (sysctl, firewall, etc)
is running, and/or restart it when cfengine updates the config files?
Thank you,
Sandra
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman
11 matches
Mail list logo