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 
stopped.

Help.

Regards,
j
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to