summaryrefslogtreecommitdiff
path: root/net-im/jabber/files/jabberd.sh
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2000-06-18 10:00:08 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2000-06-18 10:00:08 +0000
commite497906508084a5501f27a53a8ec0f23aa446e5b (patch)
tree152d32d807e92b14ac8ade604a4d650b637b1e93 /net-im/jabber/files/jabberd.sh
parentA new index, with 3,403 ports, which is a nice number, being 41 times (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_3_5_0'.release/3.5.0
Diffstat (limited to 'net-im/jabber/files/jabberd.sh')
-rw-r--r--net-im/jabber/files/jabberd.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/net-im/jabber/files/jabberd.sh b/net-im/jabber/files/jabberd.sh
deleted file mode 100644
index c550ee513139..000000000000
--- a/net-im/jabber/files/jabberd.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#! /bin/sh
-
-if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/jserver\.sh\$"); then
- echo "$0: Cannot determine the PREFIX" >&2
- exit 1
-fi
-user=jserver
-rundir=/tmp
-out=${rundir}/jserver.out
-
-export PATH=/bin:/usr/bin:${PREFIX}/bin
-umask 077
-
-test -x ${PREFIX}/bin/jserver || exit 1
-echo -n " jserver"
-cd ${rundir} || exit
-
-arg=${1:-start}
-case $arg in
-start)
- su -f -m ${user} -c \
- "jserver" \
- >>${out} 2>&1 &;;
-
-stop)
- killall jserver;;
-esac