]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc/build: update systemd instructions
authorTomas Krizek <tomas.krizek@nic.cz>
Thu, 16 Jan 2020 14:25:33 +0000 (15:25 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 21 Jan 2020 16:20:39 +0000 (17:20 +0100)
doc/build.rst

index 960813ce6f7e557ec2ebc8f8451847fa845dab1d..7302bf7e6e6f5c3cf6500dcf6352d42e32b5a01f 100644 (file)
@@ -230,6 +230,7 @@ Recommended build options for packagers:
 * ``--prefix=/usr`` to customize
   prefix, other directories can be set in a similar fashion, see ``meson setup
   --help``
+* ``-Dsystemd_files=enabled`` for systemd unit files
 * ``-Ddoc=enabled`` for offline html documentation (see :ref:`build-html-doc`)
 * ``-Dinstall_kresd_conf=enabled`` to install default config file
 * ``-Dclient=enabled`` to force build of kresc
@@ -242,12 +243,7 @@ It's recommended to use the upstream system unit files. If any customizations
 are required, drop-in files should be used, instead of patching/changing the
 unit files themselves.
 
-Depending on your systemd version, choose the appropriate build option:
-
-* ``-Dsystemd_files=enabled`` (recommended) installs unit files with
-  systemd socket activation support. Requires systemd >=227.
-* ``-Dsystemd_files=nosocket`` for systemd <227. Unit files won't use
-  socket activation.
+To install systemd unit files, use the ``-Dsystemd_files=enabled`` build option.
 
 To support enabling services after boot, you must also link ``kresd.target`` to
 ``multi-user.target.wants``: