Created
May 29, 2018 06:39
-
-
Save ethnchao/0b5119146ad1e0ab397e58b75d3dd0ad to your computer and use it in GitHub Desktop.
Systemd activemq.service
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=ActiveMQ service | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/var/activemq/bin/activemq start | |
ExecStop=/var/activemq/bin/activemq stop | |
User=root | |
Group=root | |
Restart=always | |
RestartSec=9 | |
StandardOutput=syslog | |
StandardError=syslog | |
SyslogIdentifier=activemq | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment