From bafc59d454444ac034c257ca15d3b7b1436f8923 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 23 Jun 2020 19:21:41 -0500 Subject: devel: Add optional runlevel parameter to 'svcenable' spec --- devel/script/2_keys.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/devel/script/2_keys.xml b/devel/script/2_keys.xml index e67be7c..4438881 100644 --- a/devel/script/2_keys.xml +++ b/devel/script/2_keys.xml @@ -631,7 +631,7 @@ repository https://mirrors.servercentral.com/adelie/1.0/user Format - The svcenable key is a string value which contains the name of a OpenRC service. The service file must be installed as part of a pkginstall key. svcenable may appear any number of times in a HorizonScript. + The svcenable key is a space-separate list which contains the name of a OpenRC service and an optional runlevel specification. The service file must be installed as part of a pkginstall key. svcenable may appear any number of times in a HorizonScript. If the runlevel is not specified, the default runlevel will be used. Examples @@ -643,6 +643,14 @@ svcenable sshd This configures the target computer to start the SSH daemon during system boot. + + The <literal>svcenable</literal> Key — Start udev on Boot + +svcenable udev boot +svcenable udev-trigger boot + + This configures the target computer to start the udev and udev-trigger services during early boot, in the boot runlevel. + The <literal>svcenable</literal> Key — Typical Desktop -- cgit v1.2.3-70-g09d2