- Fix mailman start script to honour modified installation directory.

- Bump PORTREVISION.

PR:		ports/98169
Submitted by:	Neil Darlow <neil@darlow.co.uk>
Approved by:	mnag (mentor)
This commit is contained in:
Jean Milanez Melo 2006-06-06 14:28:03 +00:00
parent 97d3208ce8
commit 086e7b30b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=164612
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= mailman
PORTVERSION= 2.1.8
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES?= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.list.org/

View File

@ -15,7 +15,7 @@
name="mailman"
rcvar=${name}_enable
pidfile="%%PREFIX%%/mailman/data/master-qrunner.pid"
pidfile="%%MAILMANDIR%%/data/master-qrunner.pid"
load_rc_config $name
@ -26,11 +26,11 @@ stop_cmd=${name}_stop
extra_commands="reload"
mailman_start() {
%%PREFIX%%/mailman/bin/mailmanctl -s -q start
%%MAILMANDIR%%/bin/mailmanctl -s -q start
}
mailman_stop() {
%%PREFIX%%/mailman/bin/mailmanctl -q stop
%%MAILMANDIR%%/bin/mailmanctl -q stop
}
run_rc_command "$1"