summaryrefslogtreecommitdiffstats
path: root/debian/dovecot-submissiond.prerm
blob: 2ad0a1f1347693d40a7f01a8755f4458e42fa86a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

if [ -d /run/systemd/system ]; then
	deb-systemd-invoke stop dovecot.socket || true
fi

if [ -x "/etc/init.d/dovecot" ]; then
	invoke-rc.d dovecot stop
fi

#DEBHELPER#