摘要: 该脚本用于服务器启动时启动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 阅读(5190) 评论(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 阅读(379) 评论(0) 推荐(0) 编辑