Skip to content
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.

Need an ansible role to install/configure activemq #151

Open
sfloess opened this issue Jul 5, 2017 · 0 comments
Open

Need an ansible role to install/configure activemq #151

sfloess opened this issue Jul 5, 2017 · 0 comments

Comments

@sfloess
Copy link
Contributor

sfloess commented Jul 5, 2017

May belong in /etc/systemd/system or /lib/systemd/system:

[Unit]
Description=ActiveMQ service
After=network.target

[Service]
Type=forking
PIDFile=/opt/activemq/data/activemq.pid
WorkingDirectory=/opt/activemq/bin
ExecStart=/opt/activemq/bin/activemq start
ExecStop=/opt/activemq/bin/activemq stop
Restart=on-abort

[Install]
WantedBy=multi-user.target

Then use:

  • systemctl enable activemq.service
  • systemctl daemon-reload
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant