Skip to content

Commit

Permalink
Removed environment overrides where redundant (for vault services)
Browse files Browse the repository at this point in the history
  • Loading branch information
janvanmansum committed Jun 10, 2024
1 parent 987ea0d commit 6270afd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/main/assembly/dist/install/charset.conf

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Description=Dd Dataverse Authenticator Service
ExecStart=/opt/dans.knaw.nl/dd-dataverse-authenticator/bin/dd-dataverse-authenticator server /etc/opt/dans.knaw.nl/dd-dataverse-authenticator/config.yml
# Java returns 143 even if the SIGTERM was handled correctly.
SuccessExitStatus=143
Environment="INITIAL_HEAP_SIZE=-Xms64m"
Environment="LC_ALL=en_US.UTF-8"

User=dd-dataverse-authenticator
Group=dd-dataverse-authenticator
Expand Down
2 changes: 0 additions & 2 deletions src/main/assembly/dist/install/memusage.conf

This file was deleted.

3 changes: 1 addition & 2 deletions src/main/rpm/2-post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ INSTALL_DIR=/opt/dans.knaw.nl/$MODULE_NAME
PHASE="POST-INSTALL"

echo "$PHASE: START (Number of current installations: $NUMBER_OF_INSTALLATIONS)"
service_install_systemd_unit "$INSTALL_DIR/install/$MODULE_NAME.service" $MODULE_NAME "$INSTALL_DIR/install/charset.conf"
service_install_systemd_unit "$INSTALL_DIR/install/$MODULE_NAME.service" $MODULE_NAME "$INSTALL_DIR/install/memusage.conf"
service_install_systemd_unit "$INSTALL_DIR/install/$MODULE_NAME.service" $MODULE_NAME

service_create_log_directory $MODULE_NAME
echo "$PHASE: DONE"

0 comments on commit 6270afd

Please sign in to comment.