X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-bus-proxyd%40.service.in;h=23b5ffa072a3b9d74badc1ebcfbc376455c3c315;hp=24b1200066de7b6897df5da8c3f700713d71d0da;hb=0fa9e53d12a64981e071e0adb24698f4735e2599;hpb=eca7a27add5aa3ec85c272fc4cef287fdca034ce diff --git a/units/systemd-bus-proxyd@.service.in b/units/systemd-bus-proxyd@.service.in index 24b120006..23b5ffa07 100644 --- a/units/systemd-bus-proxyd@.service.in +++ b/units/systemd-bus-proxyd@.service.in @@ -9,4 +9,14 @@ Description=Legacy D-Bus Protocol Compatibility Daemon [Service] -ExecStart=@rootlibexecdir@/systemd-bus-proxyd +# 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 --drop-privileges --address=kernel:path=/sys/fs/kdbus/0-system/bus xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx +NotifyAccess=main +CapabilityBoundingSet=CAP_IPC_OWNER CAP_SETUID CAP_SETGID CAP_SETPCAP +PrivateTmp=yes +PrivateDevices=yes +PrivateNetwork=yes +ProtectSystem=full +ProtectHome=yes