Spotter-VM/activemq/setup.sh
2018-09-07 18:46:30 +02:00

13 lines
244 B
Bash
Executable File

#!/bin/sh
set -e
SOURCE_DIR=$(realpath $(dirname "${0}"))/setup
# Configure ActiveMQ
mkdir -p /srv/activemq/data
chown -R 61616:61616 /srv/activemq/data
# Create service
cp ${SOURCE_DIR}/etc/init.d/activemq /etc/init.d/activemq
rc-update -u