logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cdist-type__service - Run action on a system service

Authors

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

Boolean Parameters

None.

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.

Description

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

Examples

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

Name

cdist-type__service - Run action on a system service

Optional Parameters

None.

Required Parameters

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

See Also