dundee: Add systemd configuration file

This commit is contained in:
Daniel Wagner 2012-04-02 17:47:19 +02:00
parent c3e7e5e4fb
commit b950159955
3 changed files with 19 additions and 1 deletions

View File

@ -697,6 +697,12 @@ if DATAFILES
dist_dbusconf_DATA += dundee/dundee.conf
if SYSTEMD
systemdunit_DATA += dundee/dundee.service
endif
endif
endif

View File

@ -242,4 +242,5 @@ fi
AC_DEFINE_UNQUOTED(CONFIGDIR, "${configdir}",
[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)

11
dundee/dundee.service.in Normal file
View File

@ -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