build: Use NotifyAccess=main feature when running under systemd

This commit is contained in:
Marcel Holtmann 2019-09-08 20:36:57 +02:00
parent e6a99f461a
commit 41f865d4df
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ Wants=network.target
Type=dbus
BusName=net.connman.iwd
ExecStart=@libexecdir@/iwd
NotifyAccess=main
LimitNPROC=1
Restart=on-failure
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW

View File

@ -7,6 +7,7 @@ Wants=network.target
Type=dbus
BusName=net.connman.ead
ExecStart=@libexecdir@/ead
NotifyAccess=main
LimitNPROC=1
Restart=on-failure
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW