1 |
On 06/07/2016 06:17 AM, Tom H wrote: |
2 |
> |
3 |
> I've just looked at your script. |
4 |
> |
5 |
> Do |
6 |
> systemctl try-restart spamassassin |
7 |
> and |
8 |
> systemctl try-restart amavisd |
9 |
> need "2>/dev/null" if you're booted with sysvinit+openrc but have |
10 |
> systemd installed like the rc-service invocations in the opposite |
11 |
> case? or do they fail silently? |
12 |
> |
13 |
|
14 |
Beats me, I don't have any way to test it. I am planning to do another |
15 |
revision bump at some point with ExecReload for spamd, so if anyone |
16 |
tells me that I need 2>/dev/null on those lines, I'll fix it. |