]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1629] updated documentation
authorRazvan Becheriu <razvan@isc.org>
Fri, 22 Jan 2021 17:06:15 +0000 (19:06 +0200)
committerRazvan Becheriu <razvan@isc.org>
Fri, 22 Jan 2021 18:26:40 +0000 (18:26 +0000)
doc/sphinx/arm/install.rst

index 469c2eb012bc7417ea5ce6941b592f08961efb0f..57d8865e67dfea3035470396e924bd37e0bac16b 100644 (file)
@@ -588,9 +588,16 @@ more information.
 
 .. code-block:: console
 
-   setcap 'cap_net_bind_service,cap_net_raw=+ep' /usr/local/sbin/kea-dhcp4
+   setcap 'cap_net_bind_service,cap_net_raw=+ep' /opt/kea/sbin/kea-dhcp4
    setcap 'cap_net_bind_service=+ep' /opt/kea/sbin/kea-dhcp6
 
+If using systemd, also add this to service file
+(e.g. /etc/systemd/system/kea-dhcp6.service):
+
+.. code-block:: console
+
+ExecStartPre=setcap 'cap_net_bind_service=+ep' /opt/kea/sbin/kea-dhcp6
+
 After this step is complete, the admin user should be able to run Kea. Note that DHCPv4 server by
 default opens raw sockets. If the network is only using relayed traffic, Kea can be instructed to
 use regular UDP sockets (refer to ``dhcp-socket-type`` parameter in the