summaryrefslogtreecommitdiff
path: root/user/dovecot/dovecot.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'user/dovecot/dovecot.post-upgrade')
-rw-r--r--user/dovecot/dovecot.post-upgrade7
1 files changed, 7 insertions, 0 deletions
diff --git a/user/dovecot/dovecot.post-upgrade b/user/dovecot/dovecot.post-upgrade
new file mode 100644
index 000000000..69f4366ed
--- /dev/null
+++ b/user/dovecot/dovecot.post-upgrade
@@ -0,0 +1,7 @@
+#!/bin/sh
+if ! grep ^"version_ignore=yes" /etc/dovecot/dovecot.conf; then
+ printf "dovecot restart required (version_ignore=yes not set)\n"
+fi
+
+exit $?
+