diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-01-17 13:57:46 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-01-17 14:00:19 +0100 |
commit | a8a1a43f482af480c375a97921df6b42452c7092 (patch) | |
tree | 3e249502d67bf7fff1a646a9f12e14d5e62afc61 /units/systemd-bus-proxyd.service.m4.in | |
parent | f4a53250acb3aea2eb5ebed059887b9417afbd9e (diff) |
bus-proxy: turn into multi-threaded daemon
Instead of using Accept=true and running one proxy for each connection, we
now run one proxy-daemon with a thread per connection. This will enable us
to share resources like policies in the future.
Diffstat (limited to 'units/systemd-bus-proxyd.service.m4.in')
-rw-r--r-- | units/systemd-bus-proxyd.service.m4.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/units/systemd-bus-proxyd.service.m4.in b/units/systemd-bus-proxyd.service.m4.in new file mode 100644 index 0000000000..ffaf0bdc87 --- /dev/null +++ b/units/systemd-bus-proxyd.service.m4.in @@ -0,0 +1,19 @@ +# 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] +ExecStart=@rootlibexecdir@/systemd-bus-proxyd --address=kernel:path=/sys/fs/kdbus/0-system/bus +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 |