summaryrefslogtreecommitdiffstats
path: root/system/apache-activemq/rc.activemq
diff options
context:
space:
mode:
Diffstat (limited to 'system/apache-activemq/rc.activemq')
-rw-r--r--system/apache-activemq/rc.activemq3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/apache-activemq/rc.activemq b/system/apache-activemq/rc.activemq
index 0f225dc2d6..3022449731 100644
--- a/system/apache-activemq/rc.activemq
+++ b/system/apache-activemq/rc.activemq
@@ -2,9 +2,12 @@
# Start/stop/restart Apache ActiveMQ daemon
DAEMON="/usr/share/activemq/bin/activemq"
+. /etc/default/activemq
case "$1" in
'start')
+ mkdir -p /tmp/activemq
+ chown $ACTIVEMQ_USER /tmp/activemq
${DAEMON} start
;;
'stop')