help-cfengine
[Top][All Lists]
Advanced

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

Restarting services


From: Systems Administrator
Subject: Restarting services
Date: Thu, 22 Jan 2004 16:44:16 +1100 (EST)

        Hi all.  Does cfengine have something to simplify the following
situation?

-----
shellcommands:
        # Restart services if config has changed
        syslogngrestart::
                "/sbin/service syslog-ng restart"
        sshdrestart::
                "/sbin/service sshd restart"
        iptablesrestart::
                "/sbin/service iptables restart"
        networkrestart::
                "/sbin/service network restart"
.
.
.
.
-----

        Is there something I'm missing?  If not, I'll probably just
generate the cfengine config from a template :).

        Thanks again,

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: address@hidden






reply via email to

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