Information Technology News
Write your own Linux server part two | Write your own Linux server part two |
|
| by David M Williams | |
| Tuesday, 21 August 2007 | |
|
Page 4 of 4 99dwsvrFeatured Whitepaper
5 Best Practices for Smartphone Support
# # dwsvr Bring up/down the dwserv process # # by David M. Williams
# ----------------------------------------------------------------------------- DWSERV_DIR=.
# Edit the following to change the port number that dwserv
# Edit the following to increase or decrease the connection queue. This
# Turn on or off logging - use 'on' or 'off'
# Edit the following to specify where the logfile is to be stored - this
# Edit the following to specify if verbose logging should be performed.
# -----------------------------------------------------------------------------
getPID_Linux ()
getPID_SunOS ()
getPID=getPID_`uname`
case "$1" in
kill -9 $PID > /dev/null 2>&1
$getPID
start) COMMANDLINE=
if [ "a$PORT" != "a" ];
if [ "a$QLEN" != "a" ];
if [ "$LOG" = "on" ];
if [ "$VERBOSE" = "yes" ];
if [ "a$LOGFILE" != "a" ]; $DWSERV_DIR/dwserv $COMMANDLINE > /dev/null 2>&1
$getPID
*) |
| < Next story in category | Previous story in the category > |
|---|


Tags




