spamassassin: Add missing class requires in systemd interfaces.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
This commit is contained in:
Chris PeBenito 2020-04-09 09:34:02 -04:00
parent 4cff02edd2
commit 5b78c1c86b
1 changed files with 2 additions and 0 deletions

View File

@ -115,6 +115,7 @@ interface(`spamassassin_signal_spamd',`
interface(`spamassassin_reload',`
gen_require(`
type spamassassin_unit_t;
class service reload;
')
allow $1 spamassassin_unit_t:service reload;
@ -134,6 +135,7 @@ interface(`spamassassin_reload',`
interface(`spamassassin_status',`
gen_require(`
type spamassassin_unit_t;
class service reload;
')
allow $1 spamassassin_unit_t:service status;