JIRA6.1.5 ???????????? linux
???????????? ???????[ 2014/4/23 11:28:02 ] ????????linux JIRA ????
???????????JIRA6.1.5????????JIRA???????????????????????????????С?
???????????JAVA????????
????????????JIRA_HOME??????
???????????JIRA??????????./bin/start-jira.sh???jira??
????????????????????????Linux ?°???????á?????JIRA6.1.5??????????????
?????????????????/etc/init.d/rc.local????м?./**/start-jira.sh????????????????????????????
??????????????г????????????atlassian-jira6.1.5-standalone/bin???????????JIRA
????#./start-jira.sh
????JIRA?????????????????????????????????????????
??????????????????????????дJ(rèn)IRA??????????
??????/etc/init.d/???д???JIRA??????
????#cd /etc/ini.d/
????#vim jira
??????????JIRA????????????
-------------------------------------------------------------------------------------------------------------------------
#!/bin/bash
#chkconfig: 2345 85 15
# description: jira
# processname: jira
# source function library
. /etc/init.d/functions
#??JAVA???????????????????
JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64
CLASSPATH=.:$CLASSPATH:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/mysql-connector-java-5.1.29-bin.jar:$JAVA_HOME/lib/classes12.jar
PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin
export JAVA_HOME PATH CLASSPATH
#????JIRA???????JIRA_HOME
JIRA_HOME=/home/jira_workhome/work_home
export JIRA_HOME
#??????JIRA????·???????????????????? ??/home/jira_workhome?????????
Jira=/home/jira_workhome/atlassian-jira-6.1.5-standalone
startup=$Jira/bin/startup.sh
shutdown=$Jira/bin/shutdown.sh
#export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64
#??η???????????????????????$Jira_Home?е?.jira-home.lock????????????????????????
.jira-home.lock????????????????????jira??????
rm -rf /home/jira_workhome/work_home/.jira-home.lock
start() {
echo -n $"Starting jira services: "
$startup
RETVAL=$?
echo
}
stop() {
echo -n $"Shutting down jira services: "
$shutdown
RETVAL=$?
echo
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
stop
start
;;
status)
status jira
RETVAL=$?
;;
*)
echo $"Usage: $0 {start|stop|restart|status}"
exit 1
esac
exit $RETVAL
-------------------------------------------------------------------------------------------------------------------------------------------------
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11