aboutsummaryrefslogtreecommitdiff
path: root/www/mnogosearch/files/spelld.sh-dist
diff options
context:
space:
mode:
Diffstat (limited to 'www/mnogosearch/files/spelld.sh-dist')
-rw-r--r--www/mnogosearch/files/spelld.sh-dist1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/mnogosearch/files/spelld.sh-dist b/www/mnogosearch/files/spelld.sh-dist
index 1f10515ace47..7b9612b68bb5 100644
--- a/www/mnogosearch/files/spelld.sh-dist
+++ b/www/mnogosearch/files/spelld.sh-dist
@@ -11,6 +11,7 @@ start)
if [ -x ${PREFIX}/sbin/spelld ]; then
# Uncomment to disallow access from outside
# /sbin/ipfw -q add 7001 deny tcp from any to any 7001
+ rm -f /var/mnogosearch/spelld.pid
su -f -m www -c "exec ${PREFIX}/sbin/spelld &" > /dev/null 2>&1 && echo -n ' spelld'
fi
;;