add DBus service files, change Makefile to install them
[systembsd.git] / conf / hostnamed-dbus.conf
CommitLineData
56dc8a08 1<?xml version="1.0"?> <!--*-nxml-*-->
2<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
3 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
4
5<!--
6 This file is part of systemd.
7
8 systemd is free software; you can redistribute it and/or modify it
9 under the terms of the GNU Lesser General Public License as published by
10 the Free Software Foundation; either version 2.1 of the License, or
11 (at your option) any later version.
12-->
13
ff1030d4 14<busconfig>
15
56dc8a08 16 <policy user="root">
17 <allow own="org.freedesktop.hostname1"/>
18 <allow send_destination="org.freedesktop.hostname1"/>
19 <allow receive_sender="org.freedesktop.hostname1"/>
20 </policy>
21
22 <policy context="default">
23 <allow send_destination="org.freedesktop.hostname1"/>
24 <allow receive_sender="org.freedesktop.hostname1"/>
25 </policy>
ff1030d4 26
27</busconfig>