1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

- Fix the rc.d script

PR:             ports/139046
Submitted by:   James E Risner <risner@mail.bullard.de>
Approved by:    maintainer timeout
This commit is contained in:
Philip M. Gollucci 2010-01-18 00:14:21 +00:00
parent c566efa2ca
commit a0406bddfb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248041
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= postgrey
PORTVERSION= 1.32
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://postgrey.schweikert.ch/pub/ LOCAL/beech

View File

@ -33,6 +33,8 @@ stop_postcmd()
# set defaults
load_rc_config $name
postgrey_enable=${postgrey_enable:-"NO"}
postgrey_pidfile=${postgrey_pidfile:-"/var/run/postgrey.pid"}
postgrey_flags=${postgrey_flags:-"--pidfile=${postgrey_pidfile} \
@ -40,5 +42,4 @@ postgrey_flags=${postgrey_flags:-"--pidfile=${postgrey_pidfile} \
pidfile="${postgrey_pidfile}"
load_rc_config $name
run_rc_command "$1"