On Wed, 18 Dec 2019 14:53:35 +0100, Joerg Jung <m...@umaxx.net> wrote:

> > On 17. Dec 2019, at 15:05, SyYExroNZ <syyexr...@cajaume.org> wrote:
> > 
> > Correct. I didn't pay attention. Excuse me.
> > 
> > El 17/12/2019 14:01, Brad Smith escribió:  
> >> If you upgrade you have to restart Dovecot. You will see that if
> >> the master process is left running throughout the upgrade.  
> >>> OpenBSD 6.6 i386
> >>> dovecot-2.3.9.2v0
> >>> /var/log/maillog:
> >>> dovecot: auth: Fatal: Dovecot version mismatch: Master is
> >>> v2.3.7.2, auth is v2.3.9.2 (if you don't care, set
> >>> version_ignore=yes)  
> 
> I wonder if  there is any way to teach pkg (tools) to restart daemon, 
> in case of daemon being enabled and running at update time,
> e.g. with some @exec line or something like:
>    sudo rcctl ls started | grep -q “^dovecot" && rcctl restart
> dovecot
> 

Not exactly that, but semarie made a script to check which processes
need to be restarted after an upgrade
https://github.com/semarie/checkrestart

Cheers,
Daniel

Reply via email to