Spotter-VM/activemq/setup.sh

13 lines
244 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-09-05 22:20:24 +02:00
SOURCE_DIR=$(realpath $(dirname "${0}"))/setup
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
cp ${SOURCE_DIR}/etc/init.d/activemq /etc/init.d/activemq
rc-update -u