Spotter-VM/activemq/install.sh
2018-10-28 16:04:11 +01:00

13 lines
225 B
Bash
Executable File

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