Skip to content

Instantly share code, notes, and snippets.

@gothicx
Created April 4, 2014 12:01
Show Gist options
  • Save gothicx/9973142 to your computer and use it in GitHub Desktop.
Save gothicx/9973142 to your computer and use it in GitHub Desktop.
# Start httpd from zabbix with httpd_t domain
policy_module(myfix, 1.0.0)
optional_policy(`
gen_require(` type httpd_initrc_exec_t, zabbix_agent_t; ')
init_labeled_script_domtrans(zabbix_agent_t, httpd_initrc_exec_t)
')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment