mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
build: Add systemd service configuration for Ethernet daemon
This commit is contained in:
parent
a053084228
commit
5efc88f3af
@ -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
13
wired/ead.service.in
Normal 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
|
5
wired/net.connman.ead.service
Normal file
5
wired/net.connman.ead.service
Normal file
@ -0,0 +1,5 @@
|
||||
[D-BUS Service]
|
||||
Name=net.connman.ead
|
||||
Exec=/bin/false
|
||||
User=root
|
||||
SystemdService=ead.service
|
Loading…
Reference in New Issue
Block a user