summaryrefslogtreecommitdiff
path: root/profiles/kopano-webapp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-09-25 19:22:15 +0200
committerGuido Günther <agx@sigxcpu.org>2017-09-28 20:08:42 +0200
commitbfdeaac7ef5c4816759acb0dddc299a58bf27755 (patch)
tree2138fd1c305406159652fb38b7d1f608cf5c02b6 /profiles/kopano-webapp
Initial commitHEADmaster
Diffstat (limited to 'profiles/kopano-webapp')
-rw-r--r--profiles/kopano-webapp28
1 files changed, 28 insertions, 0 deletions
diff --git a/profiles/kopano-webapp b/profiles/kopano-webapp
new file mode 100644
index 0000000..28d11bd
--- /dev/null
+++ b/profiles/kopano-webapp
@@ -0,0 +1,28 @@
+# Author: Guido Günther <agx@sigxcpu.org>
+
+ ^kopano-webapp {
+ #include <abstractions/apache2-common>
+ #include <abstractions/base>
+ #include <abstractions/nameservice>
+ #include <abstractions/php5>
+
+ @{PROC}/@{pid}/task/@{tid}/comm rw,
+ @{PROC}/@{pid}/cmdline r,
+
+ /etc/gss/mech.d/ r,
+ /etc/gss/mech.d/*.conf r,
+
+ /etc/kopano/webapp/*.php r,
+
+ /usr/share/kopano-webapp/** r,
+
+ /var/lib/kopano-webapp/tmp/** rwk,
+
+ /var/log/apache2/ r,
+ # FIXME: we should use separate logfiles for kopano upfront
+ /var/log/apache2/error.log rw,
+ /var/log/apache2/other_vhosts_access.log rw,
+
+ # Useful when in debugging mode
+ /usr/share/kopano-webapp/debug.txt rw,
+ }