Spotter-VM/activemq/install.sh

13 lines
224 B
Bash
Raw Normal View History

2018-01-23 13:39:50 +01:00
#!/bin/sh
set -e
2018-01-23 13:39:50 +01:00
2018-10-26 15:02:11 +02:00
cd $(realpath $(dirname "${0}"))/install
2018-01-23 13:39:50 +01:00
# Configure ActiveMQ
mkdir -p /srv/activemq/data
chown -R 61616:61616 /srv/activemq/data
2018-09-05 22:20:24 +02:00
# Create service
2018-10-25 22:22:36 +02:00
cp etc/init.d/activemq /etc/init.d/activemq
2018-09-05 22:20:24 +02:00
rc-update -u