]> nmode's Git Repositories - signal-cli/blobdiff - data/org.asamk.TextSecure.conf
Add example files for making a dbus activatable service
[signal-cli] / data / org.asamk.TextSecure.conf
diff --git a/data/org.asamk.TextSecure.conf b/data/org.asamk.TextSecure.conf
new file mode 100644 (file)
index 0000000..5267a79
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0"?> <!--*-nxml-*-->
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+        "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+
+<busconfig>
+        <policy user="textsecure">
+                <allow own="org.asamk.TextSecure"/>
+                <allow send_destination="org.asamk.TextSecure"/>
+                <allow receive_sender="org.asamk.TextSecure"/>
+        </policy>
+
+        <policy context="default">
+                <allow send_destination="org.asamk.TextSecure"/>
+                <allow receive_sender="org.asamk.TextSecure"/>
+        </policy>
+</busconfig>