summaryrefslogtreecommitdiff
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)
downloadslackbuilds-abeae21be1575e5aea6b14fd87a84b50ea6dd519.tar.gz
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 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')