Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ public static void main(String[] args) {
org.springframework.boot.SpringApplication.run(ApiAdminApplication.class, args);
}
}

4 changes: 2 additions & 2 deletions scripts/start-admin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ REPOSITORY="/home/ubuntu/spring-github-action-admin"
cd $REPOSITORY

APP_NAME=application-admin
JAR_NAME=$(ls $REPOSITORY/build/libs/ | grep '.jar' | tail -n 1)
JAR_PATH=$REPOSITORY/build/libs/$JAR_NAME
JAR_NAME=$(ls $REPOSITORY | grep '.jar' | tail -n 1)
JAR_PATH=$REPOSITORY/$JAR_NAME

START_LOG="$REPOSITORY/start.log"
ERROR_LOG="$REPOSITORY/error.log"
Expand Down
6 changes: 3 additions & 3 deletions scripts/stop-admin.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

REPOSITORY=/home/ubuntu/spring-github-action
REPOSITORY="/home/ubuntu/spring-github-action-admin"
cd $REPOSITORY

APP_NAME=application-admin
JAR_NAME=$(ls $REPOSITORY/build/libs/ | grep '.jar' | tail -n 1)
JAR_PATH=$REPOSITORY/build/libs/$JAR_NAME
JAR_NAME=$(ls $REPOSITORY | grep '.jar' | tail -n 1)
JAR_PATH=$REPOSITORY/$JAR_NAME
STOP_LOG="$REPOSITORY/stop.log"

$ chmod 666 "$STOP_LOG"
Expand Down