Hi all,
Spamassassin doesn't come with a s6 service file. I've made one.
It work for me but may be not perfect:
Spamassassin doesn't come with a s6 service file. I've made one.
It work for me but may be not perfect:
[main]
@ type = classic
@ name = spamassassin
@ description = "Spamassassin daemon"
@ user = ( root )
@ options = ( log env )
[start]
@ build = auto
@ execute = ( execl-cmdline -s { /usr/bin/vendor_perl/spamd ${cmd_args} } )
[environment]
cmd_args=!-x -u spamd -g spamd --listen=/run/spamd/spamd.sock --listen=localhost