summaryrefslogtreecommitdiff
path: root/japanese/canna-lib/files/canna.sh.in
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>2002-11-14 02:25:20 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>2002-11-14 02:25:20 +0000
commita67b340beafbad50b0855a5d2d92bd2a17ec7509 (patch)
tree64a5517dd878e528d6f825cced7033dfd6fd2b1c /japanese/canna-lib/files/canna.sh.in
parentThe LinkFileList hack, introduced in Rev 1.7. (diff)
Cannaserver now has the -u option which allow you to specify who should
own the server process. So instead of patching up the source to drop the root privilege, just use this. Suggested by: AIDA Shinra <aida-s@jcom.home.ne.jp>
Notes
Notes: svn path=/head/; revision=70075
Diffstat (limited to 'japanese/canna-lib/files/canna.sh.in')
-rw-r--r--japanese/canna-lib/files/canna.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/japanese/canna-lib/files/canna.sh.in b/japanese/canna-lib/files/canna.sh.in
index 6d2fdf5864e1..1595ca688f9f 100644
--- a/japanese/canna-lib/files/canna.sh.in
+++ b/japanese/canna-lib/files/canna.sh.in
@@ -1,9 +1,9 @@
#!/bin/sh
-OPTIONS=
+OPTIONS="-u bin"
# Uncomment the following if you want to use a TCP connection
# instead of a UNIX domain socket.
-#OPTIONS="-inet"
+#OPTIONS="-u bin -inet"
if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/${0##*/}\$"); then
echo "$0: Cannot determine the PREFIX" >&2