aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-31 03:20:27 +0200
committerDavid Runge <dave@sleepmap.de>2015-03-31 03:20:27 +0200
commit849c0fad46cc9332c9808de9e2a486d1302eb798 (patch)
treeb32459858a288365686f9a868fbe41f3df90156d
parent3ea4a7a16def48f085f220e5aafc01099e9543bd (diff)
downloaduenv-849c0fad46cc9332c9808de9e2a486d1302eb798.tar.gz
uenv-849c0fad46cc9332c9808de9e2a486d1302eb798.tar.bz2
uenv-849c0fad46cc9332c9808de9e2a486d1302eb798.tar.xz
uenv-849c0fad46cc9332c9808de9e2a486d1302eb798.zip
user/dbus.*: Adding first version of dbus user message bus service and socket.
-rw-r--r--user/dbus.service10
-rw-r--r--user/dbus.socket9
2 files changed, 19 insertions, 0 deletions
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