- tms-old
- tms
- tmsServer
- tmsServer.rc
This file ( 1kB ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
#!/bin/sh
################################################################################
# TmsServer This shell script takes care of starting and stopping
# the TmsServer daemons
################################################################################
#
# chkconfig: 2345 99 20
# description: TmsServer is the startup for TmsServer server daemons
# processname: tmsServer
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
export PATH=/usr/tms/bin:$PATH
# See how we were called.
case "$1" in
start)
# Start daemons.
echo -n "Starting TmsServer System"
daemon /usr/tms/bin/tmsServer -c /etc/tmsServer1.conf
# daemon /usr/tms/bin/tmsServer -c /etc/tmsServer2.conf
# daemon /usr/tms/bin/tmsServer -c /etc/tmsServer3.conf
# daemon /usr/tms/bin/tmsServer -c /etc/tmsServer4.conf
echo
;;
stop)
# Stop daemons.
echo -n "Shutting down TmsServer System"
killproc tmsServer
echo
;;
status)
status tmsServer
;;
restart|reload)
$0 stop
$0 start
;;
*)
echo "Usage: tmsserver {start|stop|restart|reload|status}"
exit 1
esac
exit 0