+
+ +
+

16.139. cdist-type__service(7)

+
+

16.139.1. NAME

+

cdist-type__service - Run action on a system service

+
+
+

16.139.2. DESCRIPTION

+

This type allows you to run an action against a system service.

+
+
+

16.139.3. REQUIRED PARAMETERS

+
+
action
+
Arbitrary parameter passed as action. Usually 'start', 'stop', 'reload' or 'restart'.
+
+
+
+

16.139.4. OPTIONAL PARAMETERS

+

None.

+
+
+

16.139.5. BOOLEAN PARAMETERS

+

None.

+
+
+

16.139.6. EXAMPLES

+
# Restart nginx service.
+__service nginx --action restart
+
+# Stop postfix service.
+__service postfix --action stop
+
+
+
+
+

16.139.7. AUTHORS

+

Timothée Floure <timothee.floure@ungleich.ch>

+
+
+

16.139.8. COPYING

+

Copyright (C) 2019 Timothée Floure. You can redistribute it +and/or modify it under the terms of the GNU General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version.

+
+
+ + +
+ +