https://bugs.contribs.org/show_bug.cgi?id=11170

--- Comment #16 from Daniel B. <[email protected]> ---
(In reply to John Crisp from comment #14)
> > bin/sv t dovecot
> 
> Hmmm - this does not seem to get dovecot to reload its configuration.
> 
> To get rid of the error entirely I tested with:
> 
> #!/bin/bash
> 
> status=$(/sbin/e-smith/config getprop spamassassin UseBayes)

I'd use

status=$(/sbin/e-smith/config getprop spamassassin UseBayes || echo 0)

> if [ "$status" = "1" ]
> then
>     /sbin/e-smith/service dovecot restart

Is a restart really required ? A reload isn't enough ?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to