mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-04-29 15:29:55 +00:00
updated VERSION file placed in /etc/hirs/aca
This commit is contained in:
parent
4f31def8b2
commit
1ccde9baff
@ -97,7 +97,6 @@ ospackage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Post Install
|
// Post Install
|
||||||
postInstall "echo ${jarVersion} > /opt/hirs/aca/VERSION"
|
|
||||||
postInstall 'bash /opt/hirs/aca/scripts/aca/aca_setup.sh -u'
|
postInstall 'bash /opt/hirs/aca/scripts/aca/aca_setup.sh -u'
|
||||||
// add chrontab to run ACA at boot
|
// add chrontab to run ACA at boot
|
||||||
postInstall 'echo "@reboot root /opt/hirs/aca/scripts/aca/aca_bootRun.sh -w" >> /etc/crontab'
|
postInstall 'echo "@reboot root /opt/hirs/aca/scripts/aca/aca_bootRun.sh -w" >> /etc/crontab'
|
||||||
@ -105,6 +104,8 @@ ospackage {
|
|||||||
postInstall '/opt/hirs/aca/scripts/aca/aca_bootRun.sh -w &'
|
postInstall '/opt/hirs/aca/scripts/aca/aca_bootRun.sh -w &'
|
||||||
postInstall 'chmod +x /opt/hirs/aca/scripts/aca/*'
|
postInstall 'chmod +x /opt/hirs/aca/scripts/aca/*'
|
||||||
postInstall 'bash /opt/hirs/aca/scripts/aca/check_for_aca.sh'
|
postInstall 'bash /opt/hirs/aca/scripts/aca/check_for_aca.sh'
|
||||||
|
postInstall 'mkdir -p /etc/hirs/aca && touch /etc/hirs/aca/VERSION'
|
||||||
|
postInstall "echo ${jarVersion} > /etc/hirs/aca/VERSION"
|
||||||
|
|
||||||
// Uninstall
|
// Uninstall
|
||||||
preUninstall 'bash /opt/hirs/aca/scripts/aca/aca_remove_setup.sh'
|
preUninstall 'bash /opt/hirs/aca/scripts/aca/aca_remove_setup.sh'
|
||||||
|
@ -13,7 +13,7 @@ LOG_DIR="/var/log/hirs/"
|
|||||||
LOG_FILE="$LOG_DIR$LOG_FILE_NAME"
|
LOG_FILE="$LOG_DIR$LOG_FILE_NAME"
|
||||||
HIRS_JSON_DIR="/etc/hirs/aca/default-properties"
|
HIRS_JSON_DIR="/etc/hirs/aca/default-properties"
|
||||||
ACA_PROP_FILE="/etc/hirs/aca/aca.properties"
|
ACA_PROP_FILE="/etc/hirs/aca/aca.properties"
|
||||||
ACA_VERSION_FILE="/etc/hirs/aca/VERSION"
|
ACA_VERSION_FILE="/opt/hirs/aca/VERSION"
|
||||||
SPRING_PROP_FILE="/etc/hirs/aca/application.properties"
|
SPRING_PROP_FILE="/etc/hirs/aca/application.properties"
|
||||||
PROP_FILE='../../../HIRS_AttestationCAPortal/src/main/resources/application.properties'
|
PROP_FILE='../../../HIRS_AttestationCAPortal/src/main/resources/application.properties'
|
||||||
COMP_JSON='../../../HIRS_AttestationCA/src/main/resources/component-class.json'
|
COMP_JSON='../../../HIRS_AttestationCA/src/main/resources/component-class.json'
|
||||||
@ -30,8 +30,6 @@ help () {
|
|||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Process parameters Argument handling
|
# Process parameters Argument handling
|
||||||
POSITIONAL_ARGS=()
|
POSITIONAL_ARGS=()
|
||||||
ORIGINAL_ARGS=("$@")
|
ORIGINAL_ARGS=("$@")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user