[BACK]Return to httpd-rpc.sh CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Doc

Diff for /OpenXM/src/kan96xx/Doc/httpd-rpc.sh between version 1.3 and 1.7

version 1.3, 2002/10/29 10:55:19 version 1.7, 2002/11/10 07:00:03
Line 1 
Line 1 
 #! /bin/sh  #! /bin/sh
 # $OpenXM: OpenXM/src/kan96xx/Doc/httpd-rpc.sh,v 1.2 2002/10/24 08:45:55 takayama Exp $  # $OpenXM: OpenXM/src/kan96xx/Doc/httpd-rpc.sh,v 1.6 2002/11/04 05:40:40 takayama Exp $
 LOGFILE=httpd-rpc-8090.log  # OpenXM/rc/dot.bashrc must be read before execution of this script.
   # source ${OpenXM_HOME}/rc/dot.bashrc
   #
   # Output verbose messages
   # OXWEB_DEBUG=1
   # export OXWEB_DEBUG
   #
   # Port number for the httpd service
   OXWEB_PORT=8090
   export OXWEB_PORT
   #
   # asirrc is executed when risa/asir starts. Override it if necessary.
   # You can also define your own command in this file.
   #ASIR_CONFIG=httpd-rpc-asirrc.rr
   #ASIR_CONFIG=${OpenXM_HOME}/rc/asirrc
   #export ASIR_CONFIG
   #
   # Set your own httpd-rpc file if necessary.
   # OXWEB_HTTPD_RPC=httpd-rpc-${OXWEB_PORT}.sm1
   OXWEB_HTTPD_RPC=httpd-rpc.sm1
   export OXWEB_HTTPD_RPC
   #
   # If OXWEB_HTTPD_ROOT is set, file transfer will be allowed.
   #   Example:  export OXWEB_HTTPD_ROOT=/usr/local/www/data/
   #   Do not forget the last /
   # Set
   #
   # OXWEB_HTTPD_ROOT=/usr/local/www/data
   # export OXWEB_HTTPD_ROOT
   #
   #
   #LOGFILE=httpd-rpc-${OXWEB_PORT}.log
   LOGFILE=/dev/tty
 export LOGFILE  export LOGFILE
 OXWEB_POST=1  OXWEB_POST=1
 export OXWEB_POST  export OXWEB_POST
   OXWEB_TAKE_LOG=1
   export OXWEB_TAKE_LOG
   #
 touch $LOGFILE  touch $LOGFILE
 # tail -f $LOGFILE &  # tail -f $LOGFILE &
   #
   #
   #  Main loop
 while true ; \  while true ; \
 do \  do \
   date >>$LOGFILE ;    date >>$LOGFILE ;
   sm1 -s "[(parse) (httpd-rpc.sm1) pushfile] extension ; httpd ; quit " >> $LOGFILE 2>&1 ;    sm1 -s "[(parse) (${OXWEB_HTTPD_RPC}) pushfile] extension ; httpd ; quit " >> $LOGFILE 2>&1 ;
   sleep 3 ; \    sleep 3 ; \
 done  done
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.7

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>