dbus/bus/example-system-enable-stats.conf.in
Alban Crequy f11f6f30d6 config: add examples to show how to enable/disable the Stats interface
[install examples to ${docdir}/examples -smcv]

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=80759
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2014-10-01 16:38:40 +01:00

15 lines
589 B
Text

<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- If the Stats interface was enabled at compile-time, only root may use it.
Replace USERNAME and copy this file in @EXPANDED_SYSCONFDIR@/dbus-1/system.d/
if you want to enable other privileged users to view statistics and
debug info -->
<policy user="USERNAME">
<allow send_destination="org.freedesktop.DBus"
send_interface="org.freedesktop.DBus.Debug.Stats"/>
</policy>
</busconfig>