File: net.ibh.NeedRestart.System.conf

package info (click to toggle)
needrestart-session 0.3-12
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 276 kB
  • sloc: perl: 325; sh: 54; makefile: 24
file content (22 lines) | stat: -rw-r--r-- 747 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
  <!-- Allow root to notify user sessions. -->
  <policy user="root">
    <allow send_destination="net.ibh.NeedRestart.System"/>
  </policy>

  <!-- Run needrestart-dbus-system as non-root user. -->
  <policy user="needrestart-dbus">
    <allow own="net.ibh.NeedRestart.System"/>
  </policy>

  <!-- Default Policy -->
  <policy context="default">
    <deny own="net.ibh.NeedRestart.System"/>
    <deny send_destination="net.ibh.NeedRestart.System"/>

    <allow send_interface="org.freedesktop.DBus.Introspectable" send_destination="net.ibh.NeedRestart.System"/>
  </policy>
</busconfig>