chiark / gitweb /
bus: install unit files for new driver service
authorLennart Poettering <lennart@poettering.net>
Tue, 17 Dec 2013 01:43:38 +0000 (02:43 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 17 Dec 2013 14:42:33 +0000 (15:42 +0100)
Makefile.am
src/bus-driverd/Makefile [new symlink]
units/.gitignore
units/org.freedesktop.DBus.busname [new file with mode: 0644]
units/systemd-bus-driverd.service.in [new file with mode: 0644]

index de63054..8bef21b 100644 (file)
@@ -3728,8 +3728,21 @@ systemd_bus_driverd_LDADD = \
 
 rootlibexec_PROGRAMS += \
        systemd-bus-driverd
+
+nodist_systemunit_DATA += \
+       units/systemd-bus-driverd.service
+
+dist_systemunit_DATA += \
+       units/org.freedesktop.DBus.busname
+
+BUSNAMES_TARGET_WANTS += \
+       org.freedesktop.DBus.busname
+
 endif
 
+EXTRA_DIST += \
+       units/systemd-bus-driverd.service.in
+
 # ------------------------------------------------------------------------------
 if ENABLE_LOCALED
 systemd_localed_SOURCES = \
diff --git a/src/bus-driverd/Makefile b/src/bus-driverd/Makefile
new file mode 120000 (symlink)
index 0000000..d0b0e8e
--- /dev/null
@@ -0,0 +1 @@
+../Makefile
\ No newline at end of file
index 94876ed..76c4cb3 100644 (file)
@@ -22,6 +22,7 @@
 /systemd-ask-password-wall.service
 /systemd-backlight@.service
 /systemd-binfmt.service
+/systemd-bus-driverd.service
 /systemd-bus-proxyd@.service
 /systemd-fsck-root.service
 /systemd-fsck@.service
diff --git a/units/org.freedesktop.DBus.busname b/units/org.freedesktop.DBus.busname
new file mode 100644 (file)
index 0000000..68c649d
--- /dev/null
@@ -0,0 +1,12 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
+#  (at your option) any later version.
+
+[Unit]
+Description=Bus Driver Service Bus Name
+
+[BusName]
+Service=systemd-bus-driverd.service
diff --git a/units/systemd-bus-driverd.service.in b/units/systemd-bus-driverd.service.in
new file mode 100644 (file)
index 0000000..575bddc
--- /dev/null
@@ -0,0 +1,14 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
+#  (at your option) any later version.
+
+[Unit]
+Description=Bus Driver Service
+
+[Service]
+ExecStart=@rootlibexecdir@/systemd-bus-driverd
+BusName=org.freedesktop.DBus
+WatchdogSec=1min