aboutsummaryrefslogtreecommitdiff
path: root/system/apache-activemq/rc.activemq
diff options
context:
space:
mode:
authorMiguel De Anda <miguel@thedeanda.com>2015-11-13 01:48:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-13 01:48:11 +0700
commitabeae21be1575e5aea6b14fd87a84b50ea6dd519 (patch)
treeb84075d1e49a43e6311c16891013ac6302fed11b /system/apache-activemq/rc.activemq
parentfcf3f600df0a535eff66c6daec34db6c6693460c (diff)
system/apache-activemq: Updated for version 5.12.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 0f225dc2d6c41..30224497310eb 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')