Skip to content

Commit

Permalink
Add JAVA_OPTS variable to boot script (#29)
Browse files Browse the repository at this point in the history
* Add JAVA_OPTS variable to boot script

* Change variable to IIIF_JAVA_OPTS, change command to use quotes
  • Loading branch information
mikeapp authored Feb 8, 2022
1 parent 13dbe78 commit edde4d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ops/boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ if [ ! -z "$DYNATRACE_TOKEN" ];then

/bin/sh installer.sh --set-app-log-content-access=true --set-infra-only=true --set-host-group=DC --set-host-name=${CLUSTER_NAME}-iiif-image NON_ROOT_MODE=0 2>&1 &
fi
su cantaloupe -s /bin/sh /bin/sh -c 'GEM_PATH=/jruby/lib/ruby/gems/shared java -Dcantaloupe.config=/cantaloupe/cantaloupe.properties -jar /cantaloupe/cantaloupe-$CANTALOUPE_VERSION.war'
su cantaloupe -s /bin/sh /bin/sh -c "GEM_PATH=/jruby/lib/ruby/gems/shared java -Dcantaloupe.config=/cantaloupe/cantaloupe.properties ${IIIF_JAVA_OPTS} -jar /cantaloupe/cantaloupe-$CANTALOUPE_VERSION.war"

0 comments on commit edde4d0

Please sign in to comment.