3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00
iwd/wired/ead.service.in

29 lines
551 B
SYSTEMD

[Unit]
Description=Ethernet service
Documentation=man:ead(8)
After=network-pre.target
Before=network.target
Wants=network.target
[Service]
Type=dbus
BusName=net.connman.ead
ExecStart=@libexecdir@/ead
NotifyAccess=main
LimitNPROC=1
Restart=on-failure
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
PrivateTmp=true
NoNewPrivileges=true
PrivateDevices=true
ProtectHome=yes
ProtectSystem=strict
ProtectControlGroups=yes
ProtectKernelModules=yes
ConfigurationDirectory=ead
StateDirectory=ead
StateDirectoryMode=0700
[Install]
WantedBy=multi-user.target