summaryrefslogtreecommitdiff
path: root/units/user
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-01-07 07:30:34 +0800
committerKay Sievers <kay@vrfy.org>2014-01-08 08:38:39 +0800
commit7ca7b61f70371493a0539a76108dd84e0f765264 (patch)
tree36f4d705fbf7fddc02cc5385c6786288a05aa4fc /units/user
parentc79af123de72cdb70f122c7fda5b2401acc5ea7b (diff)
bus-proxyd: support --user bus address
Diffstat (limited to 'units/user')
-rw-r--r--units/user/.gitignore1
-rw-r--r--units/user/systemd-bus-proxyd@.service.in16
2 files changed, 17 insertions, 0 deletions
diff --git a/units/user/.gitignore b/units/user/.gitignore
index 41a74f5461..6aa54754cb 100644
--- a/units/user/.gitignore
+++ b/units/user/.gitignore
@@ -1 +1,2 @@
/systemd-exit.service
+/systemd-bus-proxyd@.service
diff --git a/units/user/systemd-bus-proxyd@.service.in b/units/user/systemd-bus-proxyd@.service.in
new file mode 100644
index 0000000000..5a9f31cd83
--- /dev/null
+++ b/units/user/systemd-bus-proxyd@.service.in
@@ -0,0 +1,16 @@
+# 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=Legacy D-Bus Protocol Compatibility Daemon
+
+[Service]
+# The first argument will be replaced by the service by information on
+# the process requesting the proxy, we need a placeholder to keep the
+# space available for this.
+ExecStart=@rootlibexecdir@/systemd-bus-proxyd --address=kernel:path=/dev/kdbus/%U-user/bus xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+NotifyAccess=main