aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'policy/modules/services/couchdb.fc')
-rw-r--r--policy/modules/services/couchdb.fc9
1 files changed, 9 insertions, 0 deletions
diff --git a/policy/modules/services/couchdb.fc b/policy/modules/services/couchdb.fc
new file mode 100644
index 00000000..620bb5c9
--- /dev/null
+++ b/policy/modules/services/couchdb.fc
@@ -0,0 +1,9 @@
+/etc/couchdb(/.*)? gen_context(system_u:object_r:couchdb_conf_t,s0)
+/etc/rc\.d/init\.d/couchdb -- gen_context(system_u:object_r:couchdb_initrc_exec_t,s0)
+
+/usr/bin/couchdb -- gen_context(system_u:object_r:couchdb_exec_t,s0)
+/usr/lib/couchdb/bin/couchjs -- gen_context(system_u:object_r:couchdb_js_exec_t,s0)
+
+/var/lib/couchdb(/.*)? gen_context(system_u:object_r:couchdb_var_lib_t,s0)
+/var/log/couchdb(/.*)? gen_context(system_u:object_r:couchdb_log_t,s0)
+/run/couchdb(/.*)? gen_context(system_u:object_r:couchdb_var_run_t,s0)