Commit 1f9aa9a6 authored by Tomas Krizek's avatar Tomas Krizek

systemd: remove kresd.service meta-service

The kresd.service meta-service could be confusing for users and provides
no extra functionality. The system-kresd.slice can be used to restart or
stop all running instances.

Distributions shipping with /etc/init.d/kresd should symlink the
kresd.service to /dev/null to prevent systemd-sysv-generator from
creating this service.
parent cd23b590
......@@ -18,7 +18,6 @@ kresd.socket
kresd-tls.socket
kresd-control@.socket
system-kresd.slice
kresd.service
.fi
.SH "DESCRIPTION"
......@@ -36,10 +35,8 @@ single, independent kresd process.
The systemd-managed \fBkresd\fR service set is grouped in the
\fIsystem-kresd.slice\fR slice. The slice includes one or more
running daemons (instances of \fIkresd@.service\fR), public listening
sockets (the same listening sockets are shared by all daemons), a
dedicated control socket for each running daemon, and one meta-service
(\fIkresd.service\fR) which can be used to stop or restart all the
daemons.
sockets (the same listening sockets are shared by all daemons) and a
dedicated control socket for each running daemon.
Each instance of \fIkresd@.service\fR has three systemd sockets (see
\fBsystemd.socket(5)\fR) associated with it:
......
[Unit]
Description=Knot DNS Resolver daemon (meta-service, see "systemctl status 'kresd@*.service'")
Documentation=man:kresd(8)
Documentation=man:kresd.systemd(7)
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/true
ExecReload=/bin/true
Slice=system-kresd.slice
[Install]
WantedBy=multi-user.target
[Unit]
Description=Knot DNS Resolver daemon
Documentation=man:kresd(8)
PartOf=kresd.service
[Service]
Type=notify
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment