summaryrefslogtreecommitdiff
path: root/www/mnogosearch31/files/spelld.sh-dist
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-10-21 17:49:27 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-10-21 17:49:27 +0000
commit76a11d95bcf91848268fc58cf2df88e0ed903371 (patch)
tree685a9be4efce12284dc1802449e4f73d95d72dd8 /www/mnogosearch31/files/spelld.sh-dist
parentSwitch to www:www (diff)
Switch to www:www
Notes
Notes: svn path=/head/; revision=49029
Diffstat (limited to 'www/mnogosearch31/files/spelld.sh-dist')
-rw-r--r--www/mnogosearch31/files/spelld.sh-dist3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/mnogosearch31/files/spelld.sh-dist b/www/mnogosearch31/files/spelld.sh-dist
index 195b48d410db..1f10515ace47 100644
--- a/www/mnogosearch31/files/spelld.sh-dist
+++ b/www/mnogosearch31/files/spelld.sh-dist
@@ -1,4 +1,5 @@
#!/bin/sh
+# $FreeBSD$
if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
echo "$0: Cannot determine the PREFIX" >&2
@@ -10,7 +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
- su -f -m nobody -c "exec ${PREFIX}/sbin/spelld &" > /dev/null 2>&1 && echo -n ' spelld'
+ su -f -m www -c "exec ${PREFIX}/sbin/spelld &" > /dev/null 2>&1 && echo -n ' spelld'
fi
;;
stop)