4 changed files with 41 additions and 2 deletions
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
source ./test-functions.sh |
||||
install_service |
||||
echo 'LOG_FOLDER=log' > /test-service/spring-boot-app.conf |
||||
mkdir -p /test-service/log |
||||
useradd andy |
||||
chown andy /test-service/spring-boot-app.jar |
||||
start_service |
||||
await_app |
||||
ls -al /test-service/log/spring-boot-app.log |
||||
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
source ./test-functions.sh |
||||
install_service |
||||
echo 'LOG_FOLDER=log' > /test-service/spring-boot-app.conf |
||||
mkdir -p /test-service/log |
||||
touch /test-service/log/spring-boot-app.log |
||||
chmod a+w /test-service/log/spring-boot-app.log |
||||
useradd andy |
||||
chown andy /test-service/spring-boot-app.jar |
||||
start_service |
||||
await_app |
||||
ls -al /test-service/log/spring-boot-app.log |
||||
Loading…
Reference in new issue