summarylogtreecommitdiffstats
path: root/net.manilas.weresync.service.policy
blob: aa876e7c41b5c907da4db8937305d56ee7250924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
 "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>

  <vendor>WereSync</vendor>
  <vendor_url>https://github.com/DonyorM/weresync</vendor_url>

  <action id="net.manilas.weresync.service">
    <description>Run the WereSync backup daemon</description>
    <message>Authentication is required to start or stop the WereSync backup service.</message>
    <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_self_keep</allow_active>
    </defaults>
    <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/systemctl</annotate>
    <annotate key="org.freedesktop.policykit.exec.argv2">weresync</annotate>
  
  </action>

</policyconfig>