Move scripts for new launch script tests to correct location

See gh-11397
This commit is contained in:
Andy Wilkinson
2018-02-01 09:25:15 +00:00
parent 0091d4278d
commit 9542f5182c
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
source ./test-functions.sh
install_service
chmod o+w /var/log
useradd phil
mkdir /phil-files
chown phil /phil-files
useradd andy
chown andy /test-service/spring-boot-app.jar
start_service
stop_service
su - andy -c "ln -s -f /phil-files /var/log/spring-boot-app.log"
start_service
ls -ld /phil-files

View File

@@ -0,0 +1,18 @@
source ./test-functions.sh
install_service
useradd phil
mkdir /phil-files
chown phil /phil-files
useradd andy
chown andy /test-service/spring-boot-app.jar
start_service
stop_service
su - andy -c "ln -s /phil-files /var/run/spring-boot-app/spring-boot-app.pid"
start_service
ls -ld /phil-files

View File

@@ -0,0 +1,17 @@
source ./test-functions.sh
install_service
chmod o+w /var/run
useradd phil
mkdir /phil-files
chown phil /phil-files
useradd andy
chown andy /test-service/spring-boot-app.jar
su - andy -c "ln -s -f /phil-files /var/run/spring-boot-app"
start_service
ls -ld /phil-files