summarylogtreecommitdiffstats
path: root/service
blob: d8edee6bf433514cb8f8effcc539b1240ff26dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Apache ActiveMQ
After=networki-online.target

[Service]
Type=forking
WorkingDirectory=/opt/activemq/current/bin
#ExecStart=/usr/bin/java -jar /opt/activemq/current/bin/activemq.jar start
ExecStart=/opt/activemq/current/bin/activemq start
ExecStop=/opt/activemq/current/bin/activemq stop
Restart=on-abort
RestartSec=60
User=activemq
Group=activemq

[Install]
WantedBy=multi-user.target