summaryrefslogtreecommitdiffstats
path: root/distro/common/systemd/README.md
blob: 433f92fb06ad6ecf12841f0e57c233c99d515aa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Running Knot Resolver under systemd (or equivalent) socket activation
=====================================================================

You can use the files in this directory to run kresd under supervision
by systemd (or any supervisor that provides equivalent file descriptor
initialization via the interface supported by
sd_listen_fds_with_names(3)).

Usage and Configuration
-----------------------

See kresd.systemd(7) for details.

Compatibility with older systemd
--------------------------------

If you're using systemd prior to version 227, use the systemd-compat.conf
drop-in file to use manual activation. In this case, socket files shouldn't
be packaged, because they won't be used.

Notes
-----

*  If you're using the upstream systemd unit files, don't forget to also include
   kresd.systemd.7 manual page in the package.
*  Distributions using systemd-sysv-generator should mask kresd.service to
   be consistent with other distributions. Any use of kresd.service instead of
   kresd@N.service is discouraged to avoid confusing the users.
*  kresd.target should be enabled by default by linking it to systemd lib/
   directory. Instances of kresd@.service are then added manually to
   kresd.target when the user enables them.