help-cfengine
[Top][All Lists]
Advanced

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

Re: How to restart daemons on redhat|fedora??


From: Wil Cooley
Subject: Re: How to restart daemons on redhat|fedora??
Date: Fri, 02 Jul 2004 11:57:09 -0700

On Fri, 2004-07-02 at 11:48, Guolin Cheng wrote:
> Hi, all,
> 
>  
> 
>  Got a silly question on how to restart daemons using
> “/etc/init.d/<service> restart” through cfengine…
> 
>  
> 
>  The question can be detailed as:  After a new configuration is ready
> and pushed out to clients by means of cfengine, how to setup cfengine
> to restart daemons through “/etc/init.d/<serviceDaemonScript>
> restart|reload” shell commands. The existing “restart <shell command>”
> substatement in processes section doesn’t help a lot since it requires
> the matched processes should die hard first according to manual. The
> following are cut from references:

Here's what I've been doing:

shellcommands:
    ntp_conf_changed.redhat::
        "/sbin/service ntpd restart" useshell=dumb

Wil
-- 
Wil Cooley                                 wcooley@nakedape.cc
Naked Ape Consulting                        http://nakedape.cc






reply via email to

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