Re: systemd startup scripts for activemq

2016-11-25 Thread davidh
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 /etc/systemd/system/activemq.myinstance.service # [Unit] Descripti

Re: systemd startup scripts for activemq

2015-11-26 Thread francesco
at the very last, this one worked for me: [Unit] Description=ActiveMQ async message broker After=network.target [Service] PrivateTmp=true PIDFile=/opt/activemq/data/activemq-your_server_name.pid Type=simple #Environment=JAVA_HOME=/usr/jvm/lib/latest User=activemq Group=activemq ExecStart=/opt/act

Re: systemd startup scripts for activemq

2015-11-26 Thread francesco
Just as a starting point, this is my first try: [Unit] Description=ActiveMQ async message broker After=network.target [Service] PrivateTmp=true PIDFile=/opt/activemq/data/activemq-gimcrack.pid Type=forking Environment=JAVA_HOME=/usr/jvm/lib/latest ExecStart=/opt/activemq/bin/activemq start [Ins