문서화, release 추가

master
mjkhan21 9 months ago
parent 081362830a
commit 4b8d0f8712

@ -1,4 +1,4 @@
del logs\*.log
# del logs\*.log
set JAVA_HOME=.\17

Binary file not shown.

@ -40,7 +40,7 @@ case "$1" in
{
cd "$APP_HOME" || exit
# rm logs/*.log
nohup "$JAVA_HOME/bin/java" -cp $APP_JAR;ojdbc6.jar;. -Dloader.main=cokr.xit.interfaces.lvis.LvisInterfaceApplication org.springframework.boot.loader.PropertiesLauncher -Dspring.profiles.active=dev > /dev/null &
nohup "$JAVA_HOME/bin/java" -cp $APP_JAR:ojdbc6.jar:. -Dloader.main=cokr.xit.interfaces.lvis.LvisInterfaceApplication org.springframework.boot.loader.PropertiesLauncher -Dspring.profiles.active=dev > /dev/null &
echo "$APP_NAME 프로세스가 시작되었습니다."
}
fi
@ -51,12 +51,12 @@ case "$1" in
[Ss]top)
echo "$APP_NAME 프로세스를 종료합니다."
app_process=$(ps -ef | grep "$APP_HOME/$APP_JAR" | grep -v grep | wc -l)
app_process=$(ps -ef | grep "$APP_JAR" | grep -v grep | wc -l)
if [ "$app_process" -gt 0 ]
then
{
kill_pid=$(ps -ef | grep "$APP_HOME/$APP_JAR" | grep -v grep | awk '{print $2}')
kill_pid=$(ps -ef | grep "$APP_JAR" | grep -v grep | awk '{print $2}')
kill "$kill_pid";
echo "$APP_NAME 프로세스가 종료되었습니다."
}

@ -2,6 +2,7 @@
<project default="lvis">
<property name="resources" value="src/main/resources" />
<property name="deploy" value="deploy" />
<property name="release" value="release" />
<target name="lvis">
<copy todir="${deploy}/intf-conf">
@ -12,8 +13,8 @@
</copy>
<copy file="${resources}/application.yml" todir="${deploy}" />
<delete file="xit-lvis-interface.zip" />
<zip destfile="xit-lvis-interface.zip" compress="true">
<delete file="${release}/xit-lvis-interface.zip" />
<zip destfile="${release}/xit-lvis-interface.zip" compress="true">
<zipfileset dir="${deploy}">
<!--exclude name="/17/**/*" /--> <!-- jdk 제외시키려면 주석 제거할 것 -->
</zipfileset>

Binary file not shown.
Loading…
Cancel
Save