Created
October 31, 2017 15:57
-
-
Save dovydasvenckus/d90afb9be418b0b88c5810b343e651df to your computer and use it in GitHub Desktop.
ActiveMQ service file for systemd
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
# cat activemq.service | |
[Unit] | |
Description=Apache ActiveMQ | |
After=network-online.target | |
[Service] | |
Type=forking | |
WorkingDirectory=/opt/activemq/bin | |
ExecStart=/opt/activemq/bin/activemq start | |
ExecStop=/opt/activemq/bin/activemq stop | |
Restart=on-abort | |
User=activemq | |
Group=activemq | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment