CDIST-TYPE__START_ON_BOOT(7)
π cdist-type__start_on_boot π
okay bestie, so this is cdist-type__start_on_boot from the cdist manual pages (section 7, for the record β¨), and it's literally the type that handles all your "please start this thing when the machine wakes up" business.
πΈ NAME πΈ
cdist-type__start_on_boot β manage stuff to be started at boot π
β¨ DESCRIPTION β¨
This cdist type lets you enable or disable stuff so it gets started at boot of your operating system. That's it, that's the whole vibe. You point it at a thing, you tell it whether that thing should be popping off at boot or not, and it handles the rest. π
Warning: this type has not been tested intensively and is not fully supported. so likeβ¦ it works, but it's giving "experimental bestie", not "certified main character". proceed with awareness, okay? π
π REQUIRED PARAMETERS π
None.</purgle>
None.
Nothing. Zero. Nada. You don't have to give it anything. π«Ά
π¦ OPTIONAL PARAMETERS π¦
stateβ either"present"or"absent", and it defaults to"present". so like, if you say nothing, it assumes you want the thing to be started at boot.present= yes babe, start it.absent= no babe, do not. πtarget_runlevelβ the runlevel which should be modified, defaults to"default". only used on gentoo systems, so if you're not on gentoo this one is just kinda standing there looking pretty. π
π₯ EXAMPLES π₯
okay so here's how it actually looks in the wild, no cap:
# Ensure snmpd is started at boot
__start_on_boot snmpd
# Same, but more explicit
__start_on_boot snmpd --state present
# Ensure legacy configuration management will not be started
__start_on_boot puppet --state absent
first one: snmpd starts at boot, minimal effort, iconic. second one: same exact thing but you said the quiet part out loud with --state present. third one: puppet gets told absolutely not and will not be started at boot β legacy configuration management, we're moving on. πβ¨
π SEE ALSO π
cdist-type__process(7)β go read that one too, bestie, iykyk π§
π AUTHORS π
Nico Schottelius <nico-cdist--@--schottelius.org> β the legend himself π«Ά
π COPYING π
Copyright (C) 2012-2019 Nico Schottelius. 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. fr fr, go read the license, it's important. π
π COPYRIGHT π
ungleich GmbH 2021 π
and that's the whole page bestie!! this was cdist version 7.0.0, dated Jul 31, 2022, and honestly? she ate. slay, stay booted, mwah π
ππ
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms