I'm planning on adding USE=cron to mail-filter/spamassassin to perform nightly updates. I have a script that works for OpenRC,
https://wiki.gentoo.org/wiki/SpamAssassin#Daily_updates but I've commented where I would like to have something similar for systemd users. Anybody know how to do that? We can't count on systemd being installed, so we need to... 1. Test that systemd is installed. 2. Check if e.g. spamd is running (depends on #1 for the commands). 3. Reload or restart the daemon if #1 and #2 hold; or do nothing if one of them doesn't.

