Chris PeBenito 679626
## <summary>Network traffic graphing</summary>
Chris PeBenito 679626
Chris PeBenito 679626
########################################
Chris PeBenito 679626
## <summary>
Chris PeBenito 679626
##	Create and append mrtg logs.
Chris PeBenito 679626
## </summary>
Chris PeBenito 679626
## <param name="domain">
Chris PeBenito 679626
##	Domain allowed access.
Chris PeBenito 679626
## </param>
Chris PeBenito 679626
#
Chris PeBenito 679626
interface(`mrtg_append_create_logs',`
Chris PeBenito 679626
	gen_require(`
Chris PeBenito 679626
		type mrtg_log_t;
Chris PeBenito 679626
	')
Chris PeBenito 679626
	allow $1 mrtg_log_t:dir rw_dir_perms;
Chris PeBenito 679626
	allow $1 mrtg_log_t:file { create append getattr };
Chris PeBenito 679626
')