[blfs] 01/01: systemd units: enable here after change to blfs-systemd-units

"Git Owner" ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch plabs/sd-enable
in repository blfs.

commit 3e685fd6a66f37db439b4de7a9d78b2b786b97af
Author: Pierre Labastie <[email protected]>
AuthorDate: Tue May 5 09:33:20 2026 +0200

    systemd units: enable here after change to blfs-systemd-units
    
    They are not enabled by default anymore
---
 general/prog/gitserver.xml        |  7 +++++++
 general/prog/php.xml              |  7 +++++++
 general/prog/svnserver.xml        |  7 +++++++
 general/sysutils/acpid.xml        | 12 ++++++++---
 general/sysutils/gpm.xml          |  7 +++++++
 general/sysutils/sysmond.xml      |  7 +++++++
 networking/netprogs/nfs-utils.xml | 44 ++++++++++++++++++++++++++-------------
 networking/netprogs/ntp.xml       | 12 +++++++++--
 networking/netprogs/rsync.xml     | 20 +++++++++++-------
 networking/netprogs/samba.xml     | 27 +++++++++++++++++-------
 postlfs/security/cyrus-sasl.xml   |  7 +++++++
 postlfs/security/iptables.xml     |  7 +++++++
 postlfs/security/mitkrb.xml       | 11 +++++++++-
 postlfs/security/openssh.xml      | 32 ++++++++++++++++++++++++++++
 server/databases/mariadb.xml      |  9 ++++++--
 server/databases/postgresql.xml   |  7 +++++++
 server/mail/exim.xml              |  7 +++++++
 server/mail/postfix.xml           |  7 +++++++
 server/major/apache.xml           |  7 +++++++
 server/major/bind.xml             |  7 +++++++
 server/major/kea.xml              |  7 +++++++
 server/major/proftpd.xml          |  7 +++++++
 server/other/openldap.xml         |  7 +++++++
 server/other/unbound.xml          |  7 +++++++
 x/dm/lightdm.xml                  | 13 ++++++++++++
 25 files changed, 254 insertions(+), 38 deletions(-)

diff --git a/general/prog/gitserver.xml b/general/prog/gitserver.xml
index 3bf83c5c46..a1b78f8069 100644
--- a/general/prog/gitserver.xml
+++ b/general/prog/gitserver.xml
@@ -290,6 +290,13 @@ git push</userinput></screen>
 
 <screen role="root" revision="systemd"><userinput>make install-git-daemon</userinput></screen>
 
+      <para revision="systemd">
+        You then need to enable the unit as the &root; user:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl start git-daemon</userinput></screen>
+
       <para>
         In order to allow <application>git</application> to export a
         repository, a file named <filename>git-daemon-export-ok</filename>
diff --git a/general/prog/php.xml b/general/prog/php.xml
index 809b159e01..2186f30900 100644
--- a/general/prog/php.xml
+++ b/general/prog/php.xml
@@ -632,6 +632,13 @@ php ./go-pear.phar</userinput></screen>
 
 <screen role="root" revision="systemd"><userinput>make install-php-fpm</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable php-fpm</userinput></screen>
+
     </sect3>
 
   </sect2>
diff --git a/general/prog/svnserver.xml b/general/prog/svnserver.xml
index ee6c5fb0ac..e3f2b048f9 100644
--- a/general/prog/svnserver.xml
+++ b/general/prog/svnserver.xml
@@ -282,6 +282,13 @@ echo "UMask=0002" > /etc/systemd/system/svnserve.service.d/99-user.conf</userinp
         <filename>/etc/default/svnserve</filename>.
       </para>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable svnserve</userinput></screen>
+
     </sect3>
 
   </sect2>
diff --git a/general/sysutils/acpid.xml b/general/sysutils/acpid.xml
index 2ddbdc4c79..b2916e6d90 100644
--- a/general/sysutils/acpid.xml
+++ b/general/sysutils/acpid.xml
@@ -205,10 +205,16 @@ echo <literal>HandleLidSwitch=ignore</literal> &gt; /etc/systemd/logind.conf.d/a
 
       <note revision="systemd">
         <para>
-          This package uses socket based activation and will be started when
-          something needs it. No standalone unit file is provided for this
-          package.
+          This package uses socket based activation, which means it has
+          two systemd units, a <emphasis>socket</emphasis> one and a
+          regular <emphasis>service</emphasis> one. The socket unit is
+          the only one that needs to be enabled, and systemd shall then
+          start the service one on demand. Enable it as the &root; user:
         </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable acpid.socket</userinput></screen>
+
       </note>
 
     </sect3>
diff --git a/general/sysutils/gpm.xml b/general/sysutils/gpm.xml
index 7ca863936e..917f94773d 100644
--- a/general/sysutils/gpm.xml
+++ b/general/sysutils/gpm.xml
@@ -228,6 +228,13 @@ install -v -m644    doc/{FAQ,HACK_GPM,README*}        \
 
 <screen role="root"><userinput>make install-gpm</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable gpm</userinput></screen>
+
     </sect3>
 
     <sect3 id="gpm-config">
diff --git a/general/sysutils/sysmond.xml b/general/sysutils/sysmond.xml
index 463c978362..f757fda301 100644
--- a/general/sysutils/sysmond.xml
+++ b/general/sysutils/sysmond.xml
@@ -150,6 +150,13 @@
 
 <screen role="root"><userinput>make install-sysmond</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable sysmond</userinput></screen>
+
     </sect3>
 
     <sect3 id="sysmond-config">
diff --git a/networking/netprogs/nfs-utils.xml b/networking/netprogs/nfs-utils.xml
index 8160a03014..fe04f68c59 100644
--- a/networking/netprogs/nfs-utils.xml
+++ b/networking/netprogs/nfs-utils.xml
@@ -294,33 +294,33 @@ EOF</userinput></screen>
                <phrase revision="systemd">Systemd Units</phrase></title>
 
         <para>
-          If you have enabled building NFSv4 capabilities, install the
+          To start the NFS server at boot, install the
           <phrase revision="sysv">
             <filename>/etc/rc.d/init.d/nfs-server</filename>
             init script
           </phrase>
-          <phrase revision="systemd">NFSv4 server units</phrase>
+          <phrase revision="systemd">NFS server units</phrase>
           included in the 
           <xref linkend="bootscripts" revision="sysv"/>
           <xref linkend="systemd-units" revision="systemd"/> 
           package to start the server at boot.
         </para>
+        <indexterm zone="nfs-utils nfs-utils-server-init">
+          <primary sortas="f-nfs-server">nfs-server</primary>
+        </indexterm>
 
-<screen role="nodump" revision="systemd"><userinput>make install-nfsv4-server</userinput></screen>
-
-        <para revision="systemd">
-          If you have disabled NFSv4 support, run the following command as the
-          <systemitem class="username">root</systemitem> user to omit the NFSv4
-          specific systemd units:
-        </para>
-
-<!-- both -->
 <screen role="root"><userinput>make install-nfs-server</userinput></screen>
 
-        <indexterm zone="nfs-utils nfs-utils-server-init" revision="sysv">
-          <primary sortas="f-nfs-server">nfs-server</primary>
-        </indexterm>
+        <note revision='systemd'>
+          <para>
+            If you have enabled NFSv4 support, run the following command
+            instead. It will install the units needed for NFSv4 in addition
+            to those needed for the NFS server:
+          </para>
+
+<screen role="nodump" revision="systemd"><userinput>make install-nfsv4-server</userinput></screen>
 
+        </note>
         <para revision="sysv">
           Now create the
           <filename>/etc/sysconfig/nfs-server</filename> configuration file:
@@ -354,6 +354,13 @@ EOF</userinput></screen>
           <primary sortas="e-etc-default-nfs-utils">/etc/default/nfs-utils</primary>
         </indexterm>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable nfs-server</userinput></screen>
+
       </sect4>
 
     </sect3>
@@ -425,7 +432,7 @@ EOF</userinput></screen>
           the client services at boot.
         </para>
 
-<screen role="root"><userinput>make install-nfs-client</userinput></screen>
+<screen role="nodump"><userinput>make install-nfs-client</userinput></screen>
 
         <indexterm zone="nfs-utils nfs-utils-client-config">
           <primary sortas="f-nfs-client">nfs-client</primary>
@@ -442,6 +449,13 @@ EOF</userinput></screen>
           <primary sortas="f-netfs">netfs</primary>
         </indexterm>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='nodump'><userinput>systemctl enable nfs-client.target</userinput></screen>
+
       </sect4>
 
     </sect3>
diff --git a/networking/netprogs/ntp.xml b/networking/netprogs/ntp.xml
index b443622fb9..9e0a7d87f6 100644
--- a/networking/netprogs/ntp.xml
+++ b/networking/netprogs/ntp.xml
@@ -306,12 +306,20 @@ EOF</userinput></screen>
 
 <screen role="root"><userinput>make install-ntpd</userinput></screen>
 
-      <para>
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable ntpd</userinput></screen>
+
+      <para revision='systemd'>
         In addition, you should disable an incompatible service. As the
         &root; user:
       </para>
 
-<screen role="root"><userinput>systemctl disable systemd-timesyncd.service</userinput></screen>
+<screen  revision='systemd'
+         role="root"><userinput>systemctl disable systemd-timesyncd.service</userinput></screen>
 
       <para>
         If you prefer to run <command>ntpd</command> periodically, add the
diff --git a/networking/netprogs/rsync.xml b/networking/netprogs/rsync.xml
index f281265d3a..a465e65a8c 100644
--- a/networking/netprogs/rsync.xml
+++ b/networking/netprogs/rsync.xml
@@ -253,6 +253,13 @@ EOF</userinput></screen>
 
 <screen role="root"><userinput>make install-rsyncd</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable rsyncd</userinput></screen>
+
       <note revision="systemd">
         <para>
           This package comes with two types of units: A service file and a
@@ -267,16 +274,13 @@ EOF</userinput></screen>
         </para>
 
         <para>
-          By default, the first method is used - rsync daemon is started
-          at boot and stopped at shutdown. If the socket method is desired, you
-          need to run as the
-          <systemitem class="username">root</systemitem> user:
+          With the above command, the first method is used - rsync daemon is
+          started at boot and stopped at shutdown. If the socket method is
+          desired, you need to run instead (as the
+          <systemitem class="username">root</systemitem> user):
         </para>
 
-<screen role="nodump"><userinput>systemctl stop rsyncd &amp;&amp;
-systemctl disable rsyncd &amp;&amp;
-systemctl enable rsyncd.socket &amp;&amp;
-systemctl start rsyncd.socket</userinput></screen>
+<screen role="nodump"><userinput>systemctl enable rsyncd.socket</userinput></screen>
 
         <para>
           Note that socket method is only useful for remote backups. For
diff --git a/networking/netprogs/samba.xml b/networking/netprogs/samba.xml
index f6cf1b934e..c9c1923c2e 100644
--- a/networking/netprogs/samba.xml
+++ b/networking/netprogs/samba.xml
@@ -611,6 +611,14 @@ ln -v -sf /usr/bin/smbspool /usr/lib/cups/backend/smb</userinput></screen>
 
 <screen role="root"><userinput>make install-samba</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the units at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+role='root'><userinput>systemctl enable nmbd &amp;&amp;
+systemctl enable smbd</userinput></screen>
+
         <para>
           To start the <command>winbindd</command> daemon at boot,
           install the systemd unit from the <xref linkend="systemd-units"/>
@@ -624,6 +632,13 @@ ln -v -sf /usr/bin/smbspool /usr/lib/cups/backend/smb</userinput></screen>
 
 <screen role="root"><userinput>make install-winbindd</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable winbindd</userinput></screen>
+
         <note>
           <para>
             This package comes with two types of units: A service file and a
@@ -638,16 +653,14 @@ ln -v -sf /usr/bin/smbspool /usr/lib/cups/backend/smb</userinput></screen>
           </para>
 
           <para>
-            By default, the first method is used - the smbd daemon is started
+            with the command above, the first method is used - the smbd daemon
+            is started
             at boot and stopped at shutdown. If the socket method is desired,
-            you need to run the following commands as the <systemitem
-            class="username">root</systemitem> user:
+            you need to run the following commands instead (as the <systemitem
+            class="username">root</systemitem> user):
           </para>
 
-<screen role="root"><userinput>systemctl stop smbd          &amp;&amp;
-systemctl disable smbd       &amp;&amp;
-systemctl enable smbd.socket &amp;&amp;
-systemctl start smbd.socket</userinput></screen>
+<screen role="root"><userinput>systemctl enable smbd.socket</userinput></screen>
 
           <para>
             Note that only the smbd daemon can be socket activated.
diff --git a/postlfs/security/cyrus-sasl.xml b/postlfs/security/cyrus-sasl.xml
index 349e277fd6..ce0da2e3a8 100644
--- a/postlfs/security/cyrus-sasl.xml
+++ b/postlfs/security/cyrus-sasl.xml
@@ -313,6 +313,13 @@ install -v -dm700 /var/lib/sasl</userinput></screen>
         </para>
       </note>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable saslauthd</userinput></screen>
+
     </sect3>
 
   </sect2>
diff --git a/postlfs/security/iptables.xml b/postlfs/security/iptables.xml
index a723a981f2..b7ab7bb780 100644
--- a/postlfs/security/iptables.xml
+++ b/postlfs/security/iptables.xml
@@ -828,6 +828,13 @@ iptables -A INPUT -i WAN1 -s 192.168.0.0/16 -j DROP</literal></screen>
 
 <screen role="root"><userinput>make install-iptables</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable iptables</userinput></screen>
+
     </sect3>
 
   </sect2>
diff --git a/postlfs/security/mitkrb.xml b/postlfs/security/mitkrb.xml
index 9dd13905cb..92a69f1e69 100644
--- a/postlfs/security/mitkrb.xml
+++ b/postlfs/security/mitkrb.xml
@@ -454,7 +454,7 @@ EOF</userinput></screen>
       <para revision="systemd">
         If you want to start <application>Kerberos</application> services
         at boot, install the <filename>krb5-krdc.service</filename>,
-        <filename>krb5-kpropd</filename>, and
+        <filename>krb5-kpropd.service</filename>, and
         <filename>krb5-kadmind.service</filename> units included in
         the <xref linkend="systemd-units"/> package using the following command:
       </para>
@@ -465,6 +465,15 @@ EOF</userinput></screen>
 
 <screen role="root"><userinput>make install-krb5</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the units at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+role='root'><userinput>systemctl enable krb5-kdc     &amp;&amp;
+systemctl enable krb5-kpropd  &amp;&amp;
+systemctl enable krb5-kadmind &amp;&amp;</userinput></screen>
+
     </sect3>
 
   </sect2>
diff --git a/postlfs/security/openssh.xml b/postlfs/security/openssh.xml
index ed85ecdc95..d10eef0a6c 100644
--- a/postlfs/security/openssh.xml
+++ b/postlfs/security/openssh.xml
@@ -403,6 +403,38 @@ echo "UsePAM yes" &gt;&gt; /etc/ssh/sshd_config</userinput></screen>
       </indexterm>
 
 <screen role="root"><userinput>make install-sshd</userinput></screen>
+
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable sshd</userinput></screen>
+
+      <note revision="systemd">
+        <para>
+          This package comes with two types of units: A service file and a
+          socket file. The service file will start sshd daemon once at boot
+          and it will keep running until the system shuts down. The socket file
+          will make systemd listen on ssh port (Default 22, needs to be
+          edited for anything else) and will start sshd daemon when something
+          tries to connect to that port and stop the daemon when the connection
+          is terminated. This is called socket activation and is analogous to
+          using <application>{,x}inetd</application> on a SysVinit based
+          system.
+        </para>
+
+        <para>
+          With the above command, the first method is used - sshd daemon is
+          started at boot and stopped at shutdown. If the socket method is
+          desired, you need to run instead (as the
+          <systemitem class="username">root</systemitem> user):
+        </para>
+
+<screen role="nodump"><userinput>systemctl enable sshd.socket</userinput></screen>
+
+      </note>
+
     </sect3>
   </sect2>
 
diff --git a/server/databases/mariadb.xml b/server/databases/mariadb.xml
index a23506e438..a6dd245f59 100644
--- a/server/databases/mariadb.xml
+++ b/server/databases/mariadb.xml
@@ -429,9 +429,14 @@ mariadbd-safe --user=mariadb 2&gt;&amp;1 &gt;/dev/null &amp;</userinput></screen
         <primary sortas="f-mariadb">mariadb</primary>
       </indexterm>
 
-<screen role="root" revision="sysv"><userinput>make install-mariadb</userinput></screen>
+<screen role="root"><userinput>make install-mariadb</userinput></screen>
 
-<screen role="root" revision="systemd"><userinput>make install-mariadb</userinput></screen>
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable mariadb</userinput></screen>
 
       <note>
         <para>
diff --git a/server/databases/postgresql.xml b/server/databases/postgresql.xml
index b2f7e5e0a2..340e9c9e78 100644
--- a/server/databases/postgresql.xml
+++ b/server/databases/postgresql.xml
@@ -385,6 +385,13 @@ chown -Rv postgres:postgres /srv/pgsql /run/postgresql</userinput></screen>
 
 <screen role="root"><userinput>make install-postgresql</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable postgresql</userinput></screen>
+
     </sect3>
 
     <sect3>
diff --git a/server/mail/exim.xml b/server/mail/exim.xml
index 436b456464..b8ccf060e3 100644
--- a/server/mail/exim.xml
+++ b/server/mail/exim.xml
@@ -474,6 +474,13 @@ EOF</userinput></screen>
         for your installation.
       </para>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable exim</userinput></screen>
+
     </sect3>
 
   </sect2>
diff --git a/server/mail/postfix.xml b/server/mail/postfix.xml
index 5dc514bdf2..adeada2fa5 100644
--- a/server/mail/postfix.xml
+++ b/server/mail/postfix.xml
@@ -549,6 +549,13 @@ echo 'smtpd_forbid_bare_newline_exclusions = $mynetworks' &gt;&gt; /etc/postfix/
 
 <screen role="root"><userinput>make install-postfix</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable postfix</userinput></screen>
+
     </sect3>
 
   </sect2>
diff --git a/server/major/apache.xml b/server/major/apache.xml
index bd5ddf1761..ba4561c86f 100644
--- a/server/major/apache.xml
+++ b/server/major/apache.xml
@@ -301,6 +301,13 @@ chown -v -R apache:apache /srv/www</userinput></screen>
 
 <screen role="root"><userinput>make install-httpd</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable httpd</userinput></screen>
+
     </sect3>
 
   </sect2>
diff --git a/server/major/bind.xml b/server/major/bind.xml
index f6945f6c72..326fc704c3 100644
--- a/server/major/bind.xml
+++ b/server/major/bind.xml
@@ -534,6 +534,13 @@ EOF</userinput></screen>
 <screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/bind start</userinput></screen>
 <screen role="root" revision="systemd"><userinput>systemctl start named</userinput></screen>
 
+      <para revision='systemd'>
+        You can also enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable named</userinput></screen>
+
     </sect3>
 
     <sect3>
diff --git a/server/major/kea.xml b/server/major/kea.xml
index 8c898c0a7b..f2bd1a010b 100644
--- a/server/major/kea.xml
+++ b/server/major/kea.xml
@@ -267,6 +267,13 @@ install -dm0750 /var/log/kea</userinput></screen>
 
 <screen role="root"><userinput>make install-kea-dhcpd</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable kea-dhcp4-server</userinput></screen>
+
     <sect3 id="kea-dhcp-config">
       <title>Config Files</title>
 
diff --git a/server/major/proftpd.xml b/server/major/proftpd.xml
index 6f70b4a58d..a4c05e9860 100644
--- a/server/major/proftpd.xml
+++ b/server/major/proftpd.xml
@@ -290,6 +290,13 @@ EOF</userinput></screen>
 
 <screen role="root"><userinput>make install-proftpd</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable proftpd</userinput></screen>
+
     </sect3>
 
   </sect2>
diff --git a/server/other/openldap.xml b/server/other/openldap.xml
index 37d8e2e180..02a1bd29cd 100644
--- a/server/other/openldap.xml
+++ b/server/other/openldap.xml
@@ -489,6 +489,13 @@ cp      -vfr      doc/{drafts,rfc,guide} \
         </para>
       </note>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable slapd</userinput></screen>
+
     </sect3>
 
     <sect3>
diff --git a/server/other/unbound.xml b/server/other/unbound.xml
index 2e5146de7b..2a94cda210 100644
--- a/server/other/unbound.xml
+++ b/server/other/unbound.xml
@@ -242,6 +242,13 @@ install -v -m644 doc/html/* /usr/share/doc/unbound-&unbound-version;</userinput>
 
 <screen role="root"><userinput>make install-unbound</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable unbound</userinput></screen>
+
     </sect3>
 
   </sect2>
diff --git a/x/dm/lightdm.xml b/x/dm/lightdm.xml
index fce2b6dfad..597f5b3014 100644
--- a/x/dm/lightdm.xml
+++ b/x/dm/lightdm.xml
@@ -340,6 +340,19 @@ make</userinput></screen>
 
 <screen role="root" revision="systemd"><userinput>make install-lightdm</userinput></screen>
 
+      <para revision='systemd'>
+        You can then enable the unit at startup as the &root; user with:
+      </para>
+
+<screen revision='systemd'
+        role='root'><userinput>systemctl enable lightdm</userinput></screen>
+
+      <para revision='systemd'>
+        Note that this unit is incompatible with other display manager
+        units, and the above command will fail if another display
+        manager unit is already enabled.
+      </para>
+
     </sect3>
     <sect3 id="lightdm-init" revision="sysv">
       <title>Starting lightdm</title>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.