The script is called by other startup scripts that restart these processes.
For more information about scripts, see Setting up scripts to automatically start processes and Setting up scripts to automatically stop processes.
#!/bin/sh
# IBM Rational Synergy Startup/Shutdown Script
#
CCM_HOME=$CCM_HOME
PATH=$CCM_HOME/bin:$PATH
export CCM_HOME PATH
case $1 in
'start')
# Do on the router system
su ccm_root -c ccm_start_daemons
# Do on each database server machine
su ccm_root -c ccm_objreg
su ccm_root -c ccm_server
;;
'stop')
# Do on the router system
su ccm_root -c ccm_stop_daemons
*)
echo "usage: /etc/init.d/rational {start|stop}"
;;
esac
UNIX on Informix:
#!/bin/sh
# IBM Rational Synergy Startup/Shutdown Script
#
CCM_HOME=$CCM_HOME
PATH=$CCM_HOME/bin:$PATH
export CCM_HOME PATH
case $1 in
'start')
# Do on the router system
su ccm_root -c ccm_start_daemons
# Do on each database server machine
su informix -c ‘ccmsrv online -y -s servername'
su ccm_root -c ccm_objreg
su ccm_root -c ccm_server
;;
'stop')
# Do on the router system
su ccm_root -c ccm_stop_daemons
# Do on each database server machine
su informix -c ‘ccmsrv offline -y -s servername ;;
*)
echo "usage: /etc/init.d/rational {start|stop}"
;;
esac