summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/00-hostnamed-network-user.conf
blob: 6b224ba9b93793759d94012a3ca0da760a950610 (plain)
1
2
3
4
5
6
[Service]
# By running with these options instead of root, networkd is allowed to request
# a hostname change via DBUS when policykit is not present
User=systemd-network
Group=systemd-hostname
AmbientCapabilities=CAP_SYS_ADMIN