]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
systemd: man page - update about system-kresd.slice
authorTomas Krizek <tomas.krizek@nic.cz>
Thu, 31 May 2018 13:31:22 +0000 (15:31 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 31 May 2018 13:35:30 +0000 (15:35 +0200)
doc/kresd.systemd.7

index 0791165a2145f19cd368a366230a715e5f1a5752..4fbba04c753951b744d106f86e249d88e2c59ea4 100644 (file)
@@ -101,6 +101,9 @@ number.  To enable 3 concurrent daemons:
 
 .B Using system-kresd.slice
 
+The following commands may not work with older systemd (e.g. on CentOS 7).
+See notes for more info.
+
 The easiest way to view the status of systemd-supervised \fBkresd\fR
 instances is to use the \fIsystem-kresd.slice\fR:
 
@@ -151,6 +154,12 @@ network interfaces for \fBkresd\fR in \fI/etc/knot-resolver/kresd.conf\fR.  The
 service can be started or enabled in the same way as in the examples below, but
 it doesn't have any sockets associated with it.
 
+.IP * 2
+Controlling the service with \fIsystem-kresd.slice\fR requires newer systemd.
+It may not work in some distributions, notably CentOS 7. To control multiple
+kresd instances, use \fIkresd@*.service\fR or \fIBrace Expansion\fR mentioned
+below.
+
 .SH "EXAMPLES"
 
 .B Single instance
@@ -203,7 +212,7 @@ To enable multiple concurrent daemons, for example 16:
 To start all enabled daemons:
 .nf
 .RS
-.B systemctl start 'kresd@*.service'
+.B systemctl start --all 'kresd@*.service'
 .RE
 .fi