aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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