chiark / gitweb /
bus-proxy: turn into multi-threaded daemon
[elogind.git] / units / systemd-bus-proxyd.service.m4.in
similarity index 65%
rename from units/user/systemd-bus-proxyd@.service.in
rename to units/systemd-bus-proxyd.service.m4.in
index 0ab5462ed5d93f1318b1b6038eec3dd5601a9b2a..ffaf0bdc87c0a87252592c7c9f2f215df2ede123 100644 (file)
@@ -9,8 +9,11 @@
 Description=Legacy D-Bus Protocol Compatibility Daemon
 
 [Service]
 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=/sys/fs/kdbus/%U-user/bus xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+ExecStart=@rootlibexecdir@/systemd-bus-proxyd --address=kernel:path=/sys/fs/kdbus/0-system/bus
 NotifyAccess=main
 NotifyAccess=main
+CapabilityBoundingSet=CAP_IPC_OWNER CAP_SETUID CAP_SETGID CAP_SETPCAP m4_ifdef(`HAVE_SMACK', CAP_MAC_ADMIN )
+PrivateTmp=yes
+PrivateDevices=yes
+PrivateNetwork=yes
+ProtectSystem=full
+ProtectHome=yes