1CDIST-TYPE__SERVICE(7)               cdist              CDIST-TYPE__SERVICE(7)
2
3
4

NAME

6       cdist-type__service - Run action on a system service
7

DESCRIPTION

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

REQUIRED PARAMETERS

12       action Arbitrary  parameter  passed as action. Usually 'start', 'stop',
13              'reload' or 'restart'.
14

OPTIONAL PARAMETERS

16       None.
17

BOOLEAN PARAMETERS

19       None.
20

EXAMPLES

22          # Restart nginx service.
23          __service nginx --action restart
24
25          # Stop postfix service.
26          __service postfix --action stop
27

AUTHORS

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

COPYING

32       Copyright (C) 2019 Timothée Floure. You can redistribute it and/or mod‐
33       ify  it  under the terms of the GNU General Public License as published
34       by the Free Software Foundation, either version 3 of  the  License,  or
35       (at your option) any later version.
36
38       ungleich GmbH 2021
39
40
41
42
436.9.8                            Aug 24, 2021           CDIST-TYPE__SERVICE(7)
Impressum