12 Dec
2020
12 Dec
'20
5:24 p.m.
On 12/12/20 10:07 AM, Michael wrote:
in the file /lib/systemd/system/dovecot.service
the line PIDFile=/var/run/dovecot/master.pid
to PIDFile=/run/dovecot/master.pid
Not that it matters for systemd, but in general, both /var/run and /run should be replaced by @runstatedir@ which can then be replaced at build-time by the appropriate value from ./configure --runstatedir.
That allows a single file to work on both Linux and BSD.
The runstatedir support is part of the official autoconf-2.70 release.