3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-23 22:42:37 +01:00

build: Add systemd service configuration for Ethernet daemon

This commit is contained in:
Marcel Holtmann 2018-09-14 14:09:53 +02:00
parent a053084228
commit 5efc88f3af
3 changed files with 20 additions and 1 deletions

View File

@ -357,11 +357,12 @@ dist_man_MANS = $(manual_pages)
endif
EXTRA_DIST = src/genbuiltin src/iwd.service.in src/net.connman.iwd.service \
wired/ead.service.in wired/net.connman.ead.service \
doc/main.conf $(manual_pages:.1=.txt)
AM_CFLAGS = -fvisibility=hidden
CLEANFILES = src/iwd.service
CLEANFILES = src/iwd.service wired/ead.service
DISTCHECK_CONFIGURE_FLAGS = --disable-dbus-policy --disable-systemd-service \
--enable-sim-hardcoded \

13
wired/ead.service.in Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=Ethernet service
Before=network.target
Wants=network.target
[Service]
Type=dbus
BusName=net.connman.ead
ExecStart=@libexecdir@/ead
LimitNPROC=1
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,5 @@
[D-BUS Service]
Name=net.connman.ead
Exec=/bin/false
User=root
SystemdService=ead.service