On 06/04/2016 08:19 PM, Rich Freeman wrote: > > Couldn't you just check for the existence of systemctl, and if it > exists call "systemctl try-restart spamd". That will only work if > systemd is running and spamd is running. I'm sure you can accomplish > the same via dbus as well. >
Sounds good, do you want to try it and add it to the wiki? =) I don't need anything complicated, but I don't run systemd, so I can't actually test anything to make sure it works. But as long as someone else says it does and it doesn't hurt openrc users (I can test that), I'll ship it.