-
-
Save sebastianwebber/fa15f9b433a1f667e910 to your computer and use it in GitHub Desktop.
JON/RHQ Server Unit Service for Systemd bases systems (tested with JON 3.3.0.GA-Update2 on RHEL 7)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=RHQ Server | |
Requires=rhq-storage.service | |
After=rhq-storage.service | |
[Service] | |
Type=forking | |
PIDFile=/opt/rhq-server-4.13.1/bin/internal/rhq-server.pid | |
ExecStart=/opt/rhq-server-4.13.1/bin/rhqctl start --server | |
ExecStop=/opt/rhq-server-4.13.1/bin/rhqctl stop --server | |
ExecReload=/opt/rhq-server-4.13.1/bin/rhqctl restart --server | |
SuccessExitStatus=143 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment