summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-27 08:50:49 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-27 08:50:49 +0000
commitad090bf284cc0418528843640371e00fe8ea7864 (patch)
treed3495c643938aa68c50567727cb02f9027e41914 /textproc
parentPassage is meant to be a memento mori game. It presents an entire (diff)
- Correct an error that prevented the pre-start function running.
PR: 123051 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/sphinxsearch/files/sphinxsearch.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/sphinxsearch/files/sphinxsearch.sh.in b/textproc/sphinxsearch/files/sphinxsearch.sh.in
index 5fe3887eafa5..db956fd480b0 100644
--- a/textproc/sphinxsearch/files/sphinxsearch.sh.in
+++ b/textproc/sphinxsearch/files/sphinxsearch.sh.in
@@ -42,8 +42,9 @@ load_rc_config ${name}
command=%%PREFIX%%/sbin/searchd
pidfile=${%%PORTNAME%%_pidfile}
required_files=${%%PORTNAME%%_conffile}
+start_precmd=%%PORTNAME%%_prestart
-%%PORTNAME%%_precmd ()
+%%PORTNAME%%_prestart ()
{
piddir=$(dirname ${%%PORTNAME%%_pidfile})
if [ ! -d ${piddir} ]; then