CDIST-TYPE__SERVICE(7)

✨ cdist-type__service ✨

okay bestie, welcome to the cdist-type__service(7) page πŸ’– this is the one where we do stuff to system services. that's it. that's the vibe. πŸ’…


🌸 NAME 🌸

cdist-type__service β€” run an action on a system service πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically this type lets you run an action against a system service. that's the whole thing. one action, one service, no drama, no cap. πŸŽ€


πŸ’– REQUIRED PARAMETERS πŸ’–

  • action β€” an arbitrary parameter that gets passed as the action. usually you're gonna be giving it 'start', 'stop', 'reload' or 'restart'. those are the classics, the main character four. ✨
lowkey important: this one is required. no action, no service-doing. periodt.

🌈 OPTIONAL PARAMETERS 🌈

None. literally none. not a single one. the void. the empty set. 🫢


πŸŽ€ BOOLEAN PARAMETERS πŸŽ€

None. also none. also the void. we keep it minimal here bestie, it's giving minimalist queen. πŸ’…


⭐ EXAMPLES ⭐

here's how you actually use it, no gatekeeping:

# Restart nginx service.
__service nginx --action restart

# Stop postfix service.
__service postfix --action stop

see? restart for nginx, stop for postfix. chef's kiss. πŸ”₯


πŸ‘‘ AUTHORS πŸ‘‘

TimothΓ©e Floure <timothee.floure@ungleich.ch> β€” shoutout to the icon who wrote this 🫑


πŸ’œ 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. πŸ“œ


ungleich GmbH 2021 🌸


and that's the page!! this was version 7.0.0, dated Jul 31, 2022 β€” so like, go forth and run your actions bestie, you got this πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from