#!/bin/ksh ################################################# # rmi - start/stop the rmi server # J. David Schronce ################################################# USAGE="$0 start/stop/restart" if [ $# -eq 0 ]; then echo $USAGE; exit fi cd $CGIDIR/rmi case $1 in start) ./startps.sh;; stop) ./stopps.sh;; restart) ./stopps.sh; sleep 3;./startps.sh;; *) echo $USAGE; exit ;; esac !/bin/ksh ################################################# # tomcat - start/stop the tomcat server # J. David Schronce ################################################# USAGE="$0 start/stop/restart" if [ $# -eq 0 ]; then echo $USAGE; exit fi cd $CATALINA_BASE case $1 in start) ./startup.sh;; stop) ./shutdown.sh;; restart) ./shutdown.sh; sleep 3;./startup.sh;; *) echo $USAGE; exit ;; esac #!/bin/ksh ################################################# # pflow - start/stop the processflow servers # J. David Schronce ################################################# USAGE="$0 start/stop/restart" if [ $# -eq 0 ]; then echo $USAGE; exit fi cd $CCSDIR/lawson/processflow case $1 in start) perl servers.pl start all;; stop) perl servers.pl stop all;; restart) perl servers.pl stop all; perl servers.pl start all;; *) echo $USAGE; exit ;; esac #!/bin/ksh ################################################# # inbasket - start/stop the inbasket # J. David Schronce ################################################# USAGE="$0 start/stop/restart" if [ $# -eq 0 ]; then echo $USAGE; exit fi cd $CCSDIR/lawson/processflow case $1 in start) ./start_rdb_server.sh;; stop) ./stop_rdb_server.sh;; restart) ./start_rdb_server.sh && ./stop_rdb_server.sh;; *) echo $USAGE; exit ;; esac #!/bin/ksh ################################################# # apache - start/stop the apache server # J. David Schronce ################################################# APACHE_HOME=/usr/local/apache USAGE="$0 start/stop/restart" if [ $# -eq 0 ]; then echo $USAGE; exit fi if [[ $LOGNAME != "root" ]]; then echo "Only executalbr by 'root'" exit fi cd $APACHE_HOME/bin case $1 in start) ./apachectl start;; stop) ./apachectl stop;; restart) ./apachectl restart;; *) echo $USAGE; exit ;; esac