From b528ca7c803c43d7ffc2ce9a04b01efd8fca1e5d Mon Sep 17 00:00:00 2001 From: tin Date: Thu, 4 Apr 2013 21:03:15 +0200 Subject: [PATCH] Additional example in service documentation. --- library/service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/service b/library/service index ec009c11cf7..2a419d41b4f 100644 --- a/library/service +++ b/library/service @@ -67,6 +67,8 @@ examples: code: "service: name=httpd state=restarted" - description: Example action to reload service httpd, in all cases code: "service: name=httpd state=reloaded" + - description: Example action to enable service httpd, and not touch the running state + code: "service: name=httpd enabled=yes" - description: Example action to start service foo, based on running process /usr/bin/foo code: "service: name=foo pattern=/usr/bin/foo state=started" - description: Example action to restart network service for interface eth0