diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-10-21 17:49:27 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-10-21 17:49:27 +0000 |
commit | 76a11d95bcf91848268fc58cf2df88e0ed903371 (patch) | |
tree | 685a9be4efce12284dc1802449e4f73d95d72dd8 /www/mnogosearch/files | |
parent | eac6cc1767fb60e30ff96ff26156b8e16346b903 (diff) | |
download | ports-76a11d95bcf91848268fc58cf2df88e0ed903371.tar.gz ports-76a11d95bcf91848268fc58cf2df88e0ed903371.zip |
Notes
Diffstat (limited to 'www/mnogosearch/files')
-rw-r--r-- | www/mnogosearch/files/spelld.sh-dist | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/www/mnogosearch/files/spelld.sh-dist b/www/mnogosearch/files/spelld.sh-dist index 195b48d410db..1f10515ace47 100644 --- a/www/mnogosearch/files/spelld.sh-dist +++ b/www/mnogosearch/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) |