diff options
Diffstat (limited to 'www/mnogosearch31/files/spelld.sh-dist')
-rw-r--r-- | www/mnogosearch31/files/spelld.sh-dist | 3 |
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) |