home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
httpd-rb.zip
/
httpd-rb.sh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
1999-09-26
|
854b
|
29 lines
#!/bin/sh
###############################
# Rolf Breuning, 1999/09/05
# Java Http Server start script for UNIX
# To let the server continue execution after logout, use e.g.
# nohup sh <full path of this script>
###############################
# Precondition:
# Your java environment should be available on the path.
# I.e. executing jre.exe on the command line should display
# JRE version and options
###############################
# Settings start:
###############################
# Directory for the address file and the .jar files
servDir=/home/rolf/httpd-rb
# Port number for the server
servPort=8081
###############################
# Settings end
###############################
cp=$servDir/httpd.jar:$servDir/collections.jar
jre -cp $cp -Drb.httpd.directory=$servDir -Drb.log.file=$servDir/httpd.log rb.httpd.HttpServer $servPort