activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davidh <>
Subject Re: systemd startup scripts for activemq
Date Fri, 25 Nov 2016 14:14:53 GMT
I came looking for activemq systemd config file.  I notice the position
francesco got to acted as a wrapper round the console, whereas I was keen to
get a "forking" version working.

I managed to get the following working - in


Description = ActiveMQ
After =

ExecStart=/usr/local/activemq/myinstance/bin/myinstance start
ExecStop=/usr/local/activemq/myinstance/bin/myinstance stop
ExecReload=/usr/local/activemq/myinstance/bin/myinstance restart
Type = forking

WantedBy =


But only after adding a bash header ("#!/bin/bash") to
/usr/local/activemq/myinstance/bin/myinstance script - generated from
"activemq create myinstance".  Without this header starting gives an
"(code=exited, status=203/EXEC)" when running systemctl.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message