]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
init: Execute /etc/default/dovecot on init, if it exists
authorTom Sommer <tomsommer@users.noreply.github.com>
Tue, 7 Feb 2017 12:06:31 +0000 (13:06 +0100)
committerTimo Sirainen <tss@dovecot.fi>
Tue, 5 Sep 2017 12:51:11 +0000 (15:51 +0300)
doc/dovecot-initd.sh

index 999f8d8995a11d59b31b134f89acc97d0c991760..0da7426b8844d4186f622b21c9fc62f699c9a0bb 100644 (file)
@@ -19,8 +19,12 @@ DAEMON=/usr/local/sbin/dovecot
 # Uncomment to allow Dovecot daemons to produce core dumps.
 #ulimit -c unlimited
 
+# RedHat config
 [ -e /etc/sysconfig/dovecot ] && . /etc/sysconfig/dovecot
 
+# Debian config
+[ -e /etc/default/dovecot ] && . /etc/default/dovecot
+
 test -x $DAEMON || exit 1
 set -e