diff options
author | Renato Botelho <garga@FreeBSD.org> | 2005-10-20 17:13:49 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2005-10-20 17:13:49 +0000 |
commit | b9e1295155c7935add044b68d5c972903b2ecae8 (patch) | |
tree | 6890bb6533003fd2c956138f24334225de925bf5 /mail/dspam-devel | |
parent | - Respect PREFIX (diff) |
Teach startup script about dspam_pidfile variable. We can't use
/var/run/dspam.pid together with dspam_user="dspam" option (for example).
PR: ports/87718
Submitted by: Denis Shaposhnikov <dsh@vlink.ru>
Approved by: maintainer
Diffstat (limited to 'mail/dspam-devel')
-rw-r--r-- | mail/dspam-devel/files/dspam-devel.sh.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/dspam-devel/files/dspam-devel.sh.in b/mail/dspam-devel/files/dspam-devel.sh.in index 0e9e61342b2c..1695560c4529 100644 --- a/mail/dspam-devel/files/dspam-devel.sh.in +++ b/mail/dspam-devel/files/dspam-devel.sh.in @@ -21,7 +21,6 @@ rcvar=`set_rcvar` command=%%PREFIX%%/bin/${name} command_args="--daemon > /dev/null 2>&1 &" -pidfile=/var/run/${name}.pid required_dirs=%%DSPAM_HOME%% required_files=%%PREFIX%%/etc/${name}.conf @@ -38,4 +37,6 @@ dspam_enable=${dspam_enable:-"NO"} #dspam_flags=${dspam_flags:-"--daemon &"} load_rc_config $name +pidfile=${dspam_pidfile:-/var/run/dspam.pid} + run_rc_command "$1" |