aboutsummaryrefslogtreecommitdiffstats
path: root/main/dovecot/dovecot.initd
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2015-12-09 14:05:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-12-09 14:18:30 +0000
commit2058670f942a288119ed6093d2c3cd410e029a20 (patch)
treef48bc3dc52c81e0a2b9c670c9d5da3b2010f5829 /main/dovecot/dovecot.initd
parent5d74af04f0fafd8bb11d5e9a53f119f294314356 (diff)
downloadaports-2058670f942a288119ed6093d2c3cd410e029a20.tar.gz
aports-2058670f942a288119ed6093d2c3cd410e029a20.tar.bz2
aports-2058670f942a288119ed6093d2c3cd410e029a20.tar.xz
main/dovecot: fixups in APKBUILD and default configs
- sample-configs (conf.d) moved to main package because those are used by dovecot.conf - dovecot-sample-config subpackage and corresponding dovecot-sample-config.post-install are removed - configs related to ldap auth moved to dovecot-ldap subpackage - new subpackage dovecot-sql with sql-related configs - all sql drivers now depend on dovecot-sql - init-script: default basedir set to /run/dovecot. added creation of basedir
Diffstat (limited to 'main/dovecot/dovecot.initd')
-rw-r--r--main/dovecot/dovecot.initd4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/dovecot/dovecot.initd b/main/dovecot/dovecot.initd
index fdfb5a9fd2..880a39f254 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() {