diff options
Diffstat (limited to 'main/dovecot/dovecot.initd')
-rw-r--r-- | main/dovecot/dovecot.initd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/dovecot/dovecot.initd b/main/dovecot/dovecot.initd index fdfb5a9fd22..880a39f2542 100644 --- a/main/dovecot/dovecot.initd +++ b/main/dovecot/dovecot.initd @@ -29,8 +29,10 @@ checkconfig() { eerror "dovecot not executable" return 1 fi - DOVECOT_BASEDIR=${DOVECOT_BASEDIR:-/var/run/dovecot} + DOVECOT_BASEDIR=${DOVECOT_BASEDIR:-/run/dovecot} DOVECOT_PIDFILE=${DOVECOT_BASEDIR}/master.pid + checkpath --directory --owner dovecot:dovecot --mode 0755 \ + ${DOVECOT_BASEDIR} } start() { |