diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-04-27 08:50:49 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-04-27 08:50:49 +0000 |
commit | ad090bf284cc0418528843640371e00fe8ea7864 (patch) | |
tree | d3495c643938aa68c50567727cb02f9027e41914 /textproc | |
parent | Passage 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.in | 3 |
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 |