Created
January 20, 2017 10:55
-
-
Save linuxoid69/96c4311a533ee910849ca334e824347e 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