On Fri, 10 Aug 2012 10:07:34 +0200 (CEST) davidlee wrote: n> Mark: Thanks. But why not do both reload and restart? They have different semantics; they offer different appropriateness towards different behaviours.
I agree, reload and restart should both be provided. Here's the standard Apache init script, which is a good template for service control: /etc/init.d/httpd Usage: httpd {start|stop|restart|condrestart|try-restart|force-reload|reload|status|fullstatus|graceful|help|configtest} Out of those, I think condrestart and try-restart are good promise options to restart, and force-reload could be a promise option to reload. The rest don't make much sense in services, I think. Ted _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine