Re: CFEngine Help: how to start a service and make sure it runs after a reboot

2011-09-21 Thread Aleksey Tsalolikhin
, September 20, 2011 11:08 PM > To: Jerome Yanga > Cc: help-cfengine@cfengine.org > Subject: Re: CFEngine Help: how to start a service and make sure it runs > after a reboot > > On Fri, Sep 16, 2011 at 4:44 PM, Jerome Yanga wrote: >> Hi! >> >> I am trying to repli

RE: CFEngine Help: how to start a service and make sure it runs after a reboot

2011-09-21 Thread Jerome Yanga
ngine Help: how to start a service and make sure it runs after a reboot On Fri, Sep 16, 2011 at 4:44 PM, Jerome Yanga wrote: > Hi! > > I am trying to replicate the following commands in a promise.  I have tried > the restart_class but I cannot seem to get it working the way I have

Re: CFEngine Help: how to start a service and make sure it runs after a reboot

2011-09-20 Thread Aleksey Tsalolikhin
On Fri, Sep 16, 2011 at 4:44 PM, Jerome Yanga wrote: > Hi! > > I am trying to replicate the following commands in a promise.  I have tried > the restart_class but I cannot seem to get it working the way I have > described below. > > service snmpd start/restart > chkconfig snmpd on > > I want it

CFEngine Help: how to start a service and make sure it runs after a reboot

2011-09-16 Thread Jerome Yanga
Hi! I am trying to replicate the following commands in a promise. I have tried the restart_class but I cannot seem to get it working the way I have described below. service snmpd start/restart chkconfig snmpd on I want it to restart snmpd if it is already running and start it if it is stoppe