-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
org.freedesktop.policykit.pkexec.systemctl.policy
43 lines (43 loc) · 1.99 KB
/
org.freedesktop.policykit.pkexec.systemctl.policy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD polkit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
<policyconfig>
<vendor>Start/Start/Restart Services Systemd</vendor>
<vendor_url>http://www.freedesktop.org/wiki/Software/polkit/</vendor_url>
<action id="org.freedesktop.policykit.pkexec.systemctl.start">
<description>Start systemd service</description>
<message>Authentication is required to start a systemd service</message>
<icon_name>system-run-symbolic</icon_name>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/systemctl</annotate>
<annotate key="org.freedesktop.policykit.exec.argv1">start</annotate>
</action>
<action id="org.freedesktop.policykit.pkexec.systemctl.stop">
<description>Stop systemd service</description>
<message>Authentication is required to stop a systemd service</message>
<icon_name>system-run-symbolic</icon_name>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/systemctl</annotate>
<annotate key="org.freedesktop.policykit.exec.argv1">stop</annotate>
</action>
<action id="org.freedesktop.policykit.pkexec.systemctl.restart">
<description>Restart systemd service</description>
<message>Authentication is required to restart a systemd service</message>
<icon_name>system-run-symbolic</icon_name>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/systemctl</annotate>
<annotate key="org.freedesktop.policykit.exec.argv1">restart</annotate>
</action>
</policyconfig>