diff options
author | ume <ume@FreeBSD.org> | 2003-12-04 16:20:08 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-12-04 16:20:08 +0800 |
commit | d45f9b3ee91c09f79fae16ba248671726e072b31 (patch) | |
tree | a2973a07ed0e6b58b5dc7561fcbb92f3de045c66 /mail/cyrus-imapd23 | |
parent | f4a411243264739e3ac4db6085fe474b173d1cd9 (diff) | |
download | freebsd-ports-gnome-d45f9b3ee91c09f79fae16ba248671726e072b31.tar.gz freebsd-ports-gnome-d45f9b3ee91c09f79fae16ba248671726e072b31.tar.zst freebsd-ports-gnome-d45f9b3ee91c09f79fae16ba248671726e072b31.zip |
remove pidfile at stop.
Diffstat (limited to 'mail/cyrus-imapd23')
-rw-r--r-- | mail/cyrus-imapd23/Makefile | 2 | ||||
-rw-r--r-- | mail/cyrus-imapd23/files/imapd.sh | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile index 1d2ad32df4fb..ecc001051199 100644 --- a/mail/cyrus-imapd23/Makefile +++ b/mail/cyrus-imapd23/Makefile @@ -7,7 +7,7 @@ PORTNAME= cyrus-imapd PORTVERSION= 2.2.2.b -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ \ diff --git a/mail/cyrus-imapd23/files/imapd.sh b/mail/cyrus-imapd23/files/imapd.sh index 265876b13b82..5fcc612bb31c 100644 --- a/mail/cyrus-imapd23/files/imapd.sh +++ b/mail/cyrus-imapd23/files/imapd.sh @@ -32,6 +32,11 @@ rcvar=`set_rcvar` command="${prefix}/cyrus/bin/master" pidfile="/var/run/cyrus-master.pid" required_files="${prefix}/etc/cyrus.conf ${prefix}/etc/imapd.conf" +stop_postcmd="cyrus_imapd_poststop" + +cyrus_imapd_poststop() { + /bin/rm -f ${pidfile} +} load_rc_config $name run_rc_command "$1" |