11 2012 档案

摘要:#!/bin/sh## Linux startup script for Resin# chkconfig: 345 85 15# description: Resin is a Java Web server.# processname: wrapper.pl## To install, configure this file as needed and copy init.resin# to /etc/rc.d/init.d as resin. Then use "# /sbin/chkconfig resin reset"#JAVA_HOME=/usr/lib/jvm 阅读全文
posted @ 2012-11-26 15:53 EdwardLau 阅读(628) 评论(0) 推荐(0) 编辑
摘要:该脚本用于服务器启动时启动svn#chkconfig: 345 60 60#!/bin/bashSVN_HOME=/web/software/svn/binSVNNAME=Subversionstart(){/bin/su - svn -c "$SVN_HOME/svnserve -d -r /web/repo"echo $"Starting $SVNNAME:[OK] "}stop(){#/usr/bin/pgrep svnserve | /usr/bin/xargs /bin/kill -9/bin/ps aux| /bin/awk '/sv 阅读全文
posted @ 2012-11-23 10:45 EdwardLau 阅读(5204) 评论(0) 推荐(0) 编辑
摘要:该脚本用于服务器启动时启动,由于在测试机上运行,把tomcat7 跟tomcat6的合在一起了#chkconfig: 345 60 60#!/bin/bashCATALINA_HOME=/web/container/apache-tomcat-7.0.32CATALINA_HOME_2=/web/container/apache-tomcat-6.0.36start_tomcat7(){echo -n $"Starting Tomcat 7: "$CATALINA_HOME/bin/catalina.sh start 1>/dev/null 2>/dev/nul 阅读全文
posted @ 2012-11-23 10:40 EdwardLau 阅读(382) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示