#19 Release & deployment v2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user