DOKK / manpages / debian 11 / cdist / cdist-type__service.7.en
CDIST-TYPE__SERVICE(7) cdist CDIST-TYPE__SERVICE(7)

cdist-type__service - Run action on a system service

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

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

None.

None.

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


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

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.

ungleich GmbH 2020

February 7, 2021 6.9.4