Mail archive
alpine-aports

[alpine-aports] [PATCH] main/dovecot: a change after the previous patch, added basedir creation in init-script

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Wed, 9 Dec 2015 14:05:31 +0200

---
 main/dovecot/dovecot.initd | 1 +
 1 file changed, 1 insertion(+)
diff --git a/main/dovecot/dovecot.initd b/main/dovecot/dovecot.initd
index 6cc9cb0..d74e71e 100644
--- a/main/dovecot/dovecot.initd
+++ b/main/dovecot/dovecot.initd
_at_@ -31,6 +31,7 @@ checkconfig() {
 	fi
 	DOVECOT_BASEDIR=${DOVECOT_BASEDIR:-/run/dovecot}
 	DOVECOT_PIDFILE=${DOVECOT_BASEDIR}/master.pid
+	checkpath --directory --owner dovecot:dovecot --mode 0750 ${DOVECOT_BASEDIR}
 }
 
 start() {
-- 
2.6.3
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Dec 09 2015 - 14:05:31 GMT