Skip to content

Commit

Permalink
Merge pull request #3 from richard-austin/stage_2_generate_broker_ks_…
Browse files Browse the repository at this point in the history
…on_initial_installation

* Set JDK/JVM to version 17 for Ubuntu 24.04.
  • Loading branch information
richard-austin authored Jun 2, 2024
2 parents f9ded00 + f9c6d09 commit 516ece9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions deb-file-creation/activemq.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network-online.target

[Service]
Type=forking
Environment="JAVA_HOME=/usr/lib/jvm/java-1.17.0-openjdk-arm64"
WorkingDirectory=/usr/share/apache-activemq-6.0.0
ExecStart=/usr/share/apache-activemq-6.0.0/bin/activemq start
ExecStop=/usr/share/apache-activemq-6.0.0/bin/activemq stop
Expand Down
2 changes: 1 addition & 1 deletion deb-file-creation/create-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Architecture: arm64
Maintainer: Richard Austin <richard.david.austin@gmail.com>
Description: ActiveMQ messaging service which links security-cam NVRs to the Cloud Service
Depends: xmlstarlet,
openjdk-19-jre-headless (>=19.0.2), openjdk-19-jre-headless (<< 19.9.9)
openjdk-17-jre-headless (>=17.0.0), openjdk-17-jre-headless (<< 17.9.9)
EOF

dpkg-deb --build --root-owner-group activemq-for-cloud-service_"${VERSION}"_arm64

0 comments on commit 516ece9

Please sign in to comment.