1
0

#18 Add profiles

This commit is contained in:
2022-05-09 22:27:42 +02:00
parent 1b9ce54933
commit 6b5c260bd2
2 changed files with 4 additions and 5 deletions

View File

@@ -17,9 +17,6 @@ files_prop_loc="$workspace_loc/files/target/classes/config/files-application-$pr
echo "$app_props_loc"
echo "$files_prop_loc"
user=$(grep "nbscloud.deploy.service.user" "$app_props_loc" | cut -d'=' -f2)
echo "$user"
deploy_path=$(grep "nbscloud.deploy.path" "$app_props_loc" | cut -d'=' -f2)
echo "$deploy_path"
@@ -33,7 +30,6 @@ cp "template-nbscloud.service" $deploy_tmp"/nbscloud.service"
cd $deploy_tmp
sed -i "s|USER_R|$user|g" nbscloud.service
sed -i "s|DEPLOY_PATH_R|$deploy_path|g" nbscloud.service
sed -i "s|BASE_DIR_R|$base_dir|g" nbscloud.service