Andrew Geissler | 9b4d8b0 | 2021-02-19 12:26:16 -0600 | [diff] [blame] | 1 | [Service] |
2 | # By running with these options instead of root, networkd is allowed to request | ||||
3 | # a hostname change via DBUS when policykit is not present | ||||
4 | User=systemd-network | ||||
5 | Group=systemd-hostname | ||||
6 | AmbientCapabilities=CAP_SYS_ADMIN |