spamassassin: Add missing class requires in systemd interfaces.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
This commit is contained in:
parent
4cff02edd2
commit
5b78c1c86b
|
@ -115,6 +115,7 @@ interface(`spamassassin_signal_spamd',`
|
||||||
interface(`spamassassin_reload',`
|
interface(`spamassassin_reload',`
|
||||||
gen_require(`
|
gen_require(`
|
||||||
type spamassassin_unit_t;
|
type spamassassin_unit_t;
|
||||||
|
class service reload;
|
||||||
')
|
')
|
||||||
|
|
||||||
allow $1 spamassassin_unit_t:service reload;
|
allow $1 spamassassin_unit_t:service reload;
|
||||||
|
@ -134,6 +135,7 @@ interface(`spamassassin_reload',`
|
||||||
interface(`spamassassin_status',`
|
interface(`spamassassin_status',`
|
||||||
gen_require(`
|
gen_require(`
|
||||||
type spamassassin_unit_t;
|
type spamassassin_unit_t;
|
||||||
|
class service reload;
|
||||||
')
|
')
|
||||||
|
|
||||||
allow $1 spamassassin_unit_t:service status;
|
allow $1 spamassassin_unit_t:service status;
|
||||||
|
|
Loading…
Reference in New Issue