haizz, đã bỏ dỡ qúa lâu, mốc meo hết rồi.
tomcat.init
#!/bin/bashHOME=/qserver/apache-tomcat-8.0.27/bincase “$1” instart)# Main startupecho -n “Starting Apache Tomcat Server: “$HOME/startup.shecho “OK”;;stop)# Main shutdownecho -n “Shutdown Apache Tomcat Server: “$HOME/shutdown.shecho “OK”;;reload|restart)$0 stop$0 start;;configtest)$HOME/configtest.sh;;*)echo “Usage: `basename $0` start|stop|restart|reload|configtest”exit 1esacexit 0
oe11.init
#!/bin/bashDLC=/qserver/oe11/dlccase “$1” instart)# Main startupecho -n “Starting Progress Admin Server: “$DLC/bin/proadsv -startsleep 1$DLC/bin/proadsv -queryecho “OK”;;stop)# Main shutdownecho -n “Stop Progress Admin Server: “$DLC/bin/proadsv -stopecho “OK”;;reload|restart)$0 stop$0 start;;status)$DLC/bin/proadsv -query;;*)echo “Usage: `basename $0` start|stop|restart|reload|status”exit 1esacexit 0
Hope it helps.
Categories: Cũ hơn
Leave a Reply