File: dovecot-flatcurve.prerm

package info (click to toggle)
dovecot 1%3A2.4.2%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 59,852 kB
  • sloc: ansic: 824,112; makefile: 8,144; sh: 6,334; cpp: 1,867; python: 1,828; yacc: 412; lex: 320; perl: 281; xml: 232
file content (12 lines) | stat: -rw-r--r-- 186 bytes parent folder | download | duplicates (48)
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#