summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-23 19:21:41 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-23 19:21:41 -0500
commitbafc59d454444ac034c257ca15d3b7b1436f8923 (patch)
treed44143f793c9c3a21ea75b624d38cff0c35aa656 /devel
parent85d91a9062c9bbf497f9ec4ba1b90909608329b8 (diff)
downloadhorizon-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')
-rw-r--r--devel/script/2_keys.xml10
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 &mdash; 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 &mdash; Typical Desktop</title>
<programlisting>
svcenable dbus