diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-06-23 19:21:41 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-06-23 19:21:41 -0500 |
commit | bafc59d454444ac034c257ca15d3b7b1436f8923 (patch) | |
tree | d44143f793c9c3a21ea75b624d38cff0c35aa656 /devel/script/2_keys.xml | |
parent | 85d91a9062c9bbf497f9ec4ba1b90909608329b8 (diff) | |
download | horizon-bafc59d454444ac034c257ca15d3b7b1436f8923.tar.gz horizon-bafc59d454444ac034c257ca15d3b7b1436f8923.tar.bz2 horizon-bafc59d454444ac034c257ca15d3b7b1436f8923.tar.xz horizon-bafc59d454444ac034c257ca15d3b7b1436f8923.zip |
devel: Add optional runlevel parameter to 'svcenable' spec
Diffstat (limited to 'devel/script/2_keys.xml')
-rw-r--r-- | devel/script/2_keys.xml | 10 |
1 files changed, 9 insertions, 1 deletions
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 </formalpara> <formalpara id="svcenable.format"> <title>Format</title> - <para>The <literal>svcenable</literal> key is a string value which contains the name of a OpenRC service. The service file must be installed as part of a <literal>pkginstall</literal> key. <literal>svcenable</literal> may appear any number of times in a HorizonScript.</para> + <para>The <literal>svcenable</literal> 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 <literal>pkginstall</literal> key. <literal>svcenable</literal> may appear any number of times in a HorizonScript. If the runlevel is not specified, the <literal>default</literal> runlevel will be used.</para> </formalpara> <formalpara id="svcenable.examples"> <title>Examples</title> @@ -644,6 +644,14 @@ svcenable sshd <para>This configures the target computer to start the SSH daemon during system boot.</para> </example> <example> + <title>The <literal>svcenable</literal> Key — Start udev on Boot</title> + <programlisting> +svcenable udev boot +svcenable udev-trigger boot + </programlisting> + <para>This configures the target computer to start the <literal>udev</literal> and <literal>udev-trigger</literal> services during early boot, in the <literal>boot</literal> runlevel.</para> + </example> + <example> <title>The <literal>svcenable</literal> Key — Typical Desktop</title> <programlisting> svcenable dbus |