On 21/02/2016 10:43 PM, aki.tu...@dovecot.fi wrote:
The PID-File seems to be expected under yet another sub-dir of
/var/run/dovecot.

Regards
Thomas

Hi,

This is fixed in
https://github.com/dovecot/core/commit/22d75d47097ca83c6e824a5129d81e8f18fb589b

---
Aki Tuomi

This doesn't seem to be fixed for me, with latest -hg and a full make clean and new ./configure as of 30 mins ago.

This is with a raspberri pi with Raspbian 8 (all up to date).

[Service]
Type=forking
ExecStart=/usr/sbin/dovecot
PIDFile=/var/run/dovecot/dovecot/master.pid
ExecReload=/usr/bin/doveadm reload
ExecStop=/usr/bin/doveadm stop
PrivateTmp=true
NonBlocking=yes
# Enable this if your systemd is new enough to support it:
#ProtectSystem=full

I'm running ./configure with:

./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --infodir=/usr/share/info --with-moduledir=/usr/lib/dovecot/modules --disable-rpath --with-systemdsystemunitdir=auto --with-storages=maildir --with-ssl=openssl --with-solr --with-ioloop=best --with-stemmer --with-libwrap --with-lucene --without-sqlite --without-ldap --without-pgsql --disable-static

It's not an old dovecot.service file either - updated when I installed the build a few minutes ago.

By manually editing the systemd file above I was able to get the service up.

Reuben

Reply via email to