aboutsummaryrefslogtreecommitdiffstats
path: root/main/dovecot/dovecot.initd
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-08-27 23:07:14 +0300
committerTimo Teräs <timo.teras@iki.fi>2017-08-30 10:01:29 +0000
commitcfa6b3a375758979371d939912315a1f8dea17bf (patch)
tree9f1e75323ed1cade92d1e09bb865200a6f1128f9 /main/dovecot/dovecot.initd
parent843ae4e4a5931028237f3d8f81204208388206aa (diff)
downloadaports-cfa6b3a375758979371d939912315a1f8dea17bf.tar.gz
aports-cfa6b3a375758979371d939912315a1f8dea17bf.tar.bz2
aports-cfa6b3a375758979371d939912315a1f8dea17bf.tar.xz
main/dovecot: upgrade to 2.2.32, fixes
- cosmetic fixes in init-script - move /usr/libexec/dovecot to /usr/lib/dovecot - add pidgeonhole (sieve) ldap storage plugin as subpackage - move all sieve-related stuff to pidgeonhole-plugin subpackage, so now dovecot package have no sieve-dependent libs and binaries. - move all ldap-related libs to dovecot-ldap subpackage, so now dovecot package doesn't depends on libldap.
Diffstat (limited to 'main/dovecot/dovecot.initd')
-rw-r--r--main/dovecot/dovecot.initd6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/dovecot/dovecot.initd b/main/dovecot/dovecot.initd
index 92959c6372..088b98fecc 100644
--- a/main/dovecot/dovecot.initd
+++ b/main/dovecot/dovecot.initd
@@ -1,6 +1,6 @@
#!/sbin/openrc-run
-[ "${SVCNAME}" != "${SVCNAME##*.}" ] && instance=${SVCNAME##*.}
+[ "$RC_SVCNAME" != "${RC_SVCNAME##*.}" ] && instance=${RC_SVCNAME##*.}
description="Secure POP3/IMAP server"
@@ -28,13 +28,13 @@ start_pre() {
}
reload() {
- ebegin "Reloading ${SVCNAME} configs and restarting auth/login processes"
+ ebegin "Reloading $RC_SVCNAME configs and restarting auth/login processes"
start_pre && start-stop-daemon --signal HUP --pidfile $pidfile
eend $?
}
reopen() {
- ebegin "Reopening ${SVCNAME} log files"
+ ebegin "Reopening $RC_SVCNAME log files"
start-stop-daemon --signal USR1 --pidfile $pidfile
eend $?
}