Commit 9a0732d2 by Jason Song

change scripts dir

parent e8e80d32
......@@ -11,7 +11,7 @@
<!--scripts -->
<fileSet>
<directory>src/main/scripts</directory>
<outputDirectory>bin</outputDirectory>
<outputDirectory>scripts</outputDirectory>
<includes>
<include>*.sh</include>
</includes>
......@@ -44,4 +44,4 @@
<fileMode>0755</fileMode>
</fileSet>
</fileSets>
</assembly>
\ No newline at end of file
</assembly>
......@@ -27,8 +27,8 @@ APP_BASE_DIR=/opt/ctrip/app
APP_NAME=$1
APP_DIR=$APP_BASE_DIR/$APP_NAME
APP_RELEASE_DIR=$APP_BASE_DIR/apollo-$APP_NAME.releases/`date "+%Y-%m-%d.%H.%M.%S"`
APP_STARTUP_SCRIPT=$APP_DIR/bin/startup.sh
APP_SHUTDOWN_SCRIPT=$APP_DIR/bin/shutdown.sh
APP_STARTUP_SCRIPT=$APP_DIR/scripts/startup.sh
APP_SHUTDOWN_SCRIPT=$APP_DIR/scripts/shutdown.sh
if [ -e $APP_STARTUP_SCRIPT ];then
$APP_SHUTDOWN_SCRIPT
......@@ -46,4 +46,4 @@ chmod +x $APP_STARTUP_SCRIPT
chmod +x $APP_SHUTDOWN_SCRIPT
$APP_SHUTDOWN_SCRIPT
$APP_STARTUP_SCRIPT
wait
\ No newline at end of file
wait
......@@ -11,7 +11,7 @@
<!--scripts -->
<fileSet>
<directory>src/main/scripts</directory>
<outputDirectory>bin</outputDirectory>
<outputDirectory>scripts</outputDirectory>
<includes>
<include>*.sh</include>
</includes>
......@@ -44,4 +44,4 @@
<fileMode>0755</fileMode>
</fileSet>
</fileSets>
</assembly>
\ No newline at end of file
</assembly>
......@@ -11,7 +11,7 @@
<!--scripts -->
<fileSet>
<directory>src/main/scripts</directory>
<outputDirectory>bin</outputDirectory>
<outputDirectory>scripts</outputDirectory>
<includes>
<include>*.sh</include>
</includes>
......@@ -44,4 +44,4 @@
<fileMode>0755</fileMode>
</fileSet>
</fileSets>
</assembly>
\ No newline at end of file
</assembly>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment