1
0

#19 Release & deployment v2

This commit is contained in:
2022-05-10 22:45:49 +02:00
parent 7a06f56f94
commit 78d1f59929
8 changed files with 36 additions and 66 deletions

View File

@@ -5,10 +5,10 @@ Wants=network-online.target
[Service]
Type=simple
# Values substituted from application.properties
ExecStart=java -jar DEPLOY_PATH_R/nbscloud.jar --spring.profiles.active=PROFILE_R
ReadWritePaths=BASE_DIR_R
ExecStart=java -jar %h/.local/share/java/nbscloud/nbscloud.jar --spring.config.additional-location="file://%h/.config/nbscloud/application.properties"
ReadWritePaths=%h/nbscloud
ReadOnlyPaths=%h/.local/share/java/nbscloud/nbscloud.jar
ReadOnlyPaths=%h/.config/nbscloud/application.properties
# Hardening
ProtectHome=true