-
-
Save sebastianwebber/d772889b2dea7cb2cb4d to your computer and use it in GitHub Desktop.
This file contains 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 Agent | |
After=network.target | |
[Service] | |
Type=forking | |
PIDFile=/opt/rhq-agent/bin/rhq-agent.pid | |
ExecStart=/opt/rhq-server-4.13.1/bin/rhqctl start --agent | |
ExecStop=/opt/rhq-server-4.13.1/bin/rhqctl stop --agent | |
ExecReload=/opt/rhq-server-4.13.1/bin/rhqctl restart --agent | |
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