aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'policy/modules/services/haproxy.fc')
-rw-r--r--policy/modules/services/haproxy.fc12
1 files changed, 12 insertions, 0 deletions
diff --git a/policy/modules/services/haproxy.fc b/policy/modules/services/haproxy.fc
new file mode 100644
index 000000000..63e1b8a4c
--- /dev/null
+++ b/policy/modules/services/haproxy.fc
@@ -0,0 +1,12 @@
+/etc/rc\.d/init\.d/haproxy.* -- gen_context(system_u:object_r:haproxy_initrc_exec_t,s0)
+
+/etc/haproxy(/.*)? gen_context(system_u:object_r:haproxy_conf_t,s0)
+
+/usr/bin/haproxy -- gen_context(system_u:object_r:haproxy_exec_t,s0)
+/usr/sbin/haproxy -- gen_context(system_u:object_r:haproxy_exec_t,s0)
+
+/run/haproxy(/.*)? gen_context(system_u:object_r:haproxy_runtime_t,s0)
+/run/haproxy\.pid -- gen_context(system_u:object_r:haproxy_runtime_t,s0)
+/run/haproxy-master\.sock -s gen_context(system_u:object_r:haproxy_runtime_t,s0)
+
+/var/log/haproxy(/.*)? gen_context(system_u:object_r:haproxy_log_t,s0)