From 849c0fad46cc9332c9808de9e2a486d1302eb798 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 31 Mar 2015 03:20:27 +0200 Subject: user/dbus.*: Adding first version of dbus user message bus service and socket. --- user/dbus.service | 10 ++++++++++ user/dbus.socket | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100644 user/dbus.service create mode 100644 user/dbus.socket (limited to 'user') diff --git a/user/dbus.service b/user/dbus.service new file mode 100644 index 0000000..63b032a --- /dev/null +++ b/user/dbus.service @@ -0,0 +1,10 @@ +[Unit] +Description=D-Bus User Message Bus +Requires=dbus.socket + +[Service] +ExecStart=/usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation +ExecReload=/usr/bin/dbus-send --print-reply --session --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig + +[Install] +Also=dbus.socket diff --git a/user/dbus.socket b/user/dbus.socket new file mode 100644 index 0000000..2dbb088 --- /dev/null +++ b/user/dbus.socket @@ -0,0 +1,9 @@ +[Unit] +Description=D-Bus User Message Bus Socket + +[Socket] +ListenStream=%t/dbus/session + +[Install] +WantedBy=sockets.target +Also=dbus.service -- cgit v1.2.3-70-g09d2