Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Done
-
None
-
None
-
None
Description
A rpm should be created at build time to allow the installing of the Query Manager.
RPM Requirements:
- Must include dependencies to the JSVC rpm.
- register the daemon as a service with the provided service script
- provide a default configuration to the install directory
- install the Query Manager jar to the install directory
- Provide a README file
End directory structure for CentoOS 7:
# The /opt directory containing the application. /opt/rya-streams-query-manager-{version}/bin/rya-streams-query-manager.sh /opt/rya-streams-query-manager-{version}/bin/systemd/rya-streams-query-manager.service /opt/rya-streams-query-manager-{version}/config/configuration.xml /opt/rya-streams-query-manager-{version}/config/log4j.xml /opt/rya-streams-query-manager-{version}/logs/ /opt/rya-streams-query-manager-{version}/lib/common-daemon-1.1.0.jar /opt/rya-streams-query-manager-{version}/lib/rya.streams.query-manager-{version}-shaded.jar
Also need a post install script that does the following things:
- systemctl enable /opt/rya-streams-query-manager-{version}/bin/systemd/rya-streams-query-manager.service
- systemctl daemon-reload