mirror of git://git.sysmocom.de/ofono
dundee: Add systemd configuration file
This commit is contained in:
parent
c3e7e5e4fb
commit
b950159955
|
@ -697,6 +697,12 @@ if DATAFILES
|
||||||
|
|
||||||
dist_dbusconf_DATA += dundee/dundee.conf
|
dist_dbusconf_DATA += dundee/dundee.conf
|
||||||
|
|
||||||
|
if SYSTEMD
|
||||||
|
|
||||||
|
systemdunit_DATA += dundee/dundee.service
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -242,4 +242,5 @@ fi
|
||||||
AC_DEFINE_UNQUOTED(CONFIGDIR, "${configdir}",
|
AC_DEFINE_UNQUOTED(CONFIGDIR, "${configdir}",
|
||||||
[Directory for the configuration files])
|
[Directory for the configuration files])
|
||||||
|
|
||||||
AC_OUTPUT(Makefile include/version.h src/ofono.service ofono.pc)
|
AC_OUTPUT(Makefile include/version.h src/ofono.service ofono.pc \
|
||||||
|
dundee/dundee.service)
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=DUN service
|
||||||
|
After=syslog.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=dbus
|
||||||
|
BusName=org.ofono.dundee
|
||||||
|
ExecStart=@prefix@/sbin/dundee -n
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue