summarylogtreecommitdiffstats
path: root/runsvdir-activemq
diff options
context:
space:
mode:
Diffstat (limited to 'runsvdir-activemq')
-rw-r--r--runsvdir-activemq9
1 files changed, 9 insertions, 0 deletions
diff --git a/runsvdir-activemq b/runsvdir-activemq
new file mode 100644
index 000000000000..ed85d8dfbf2c
--- /dev/null
+++ b/runsvdir-activemq
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+export USER="activemq"
+export HOME="/opt/activemq"
+
+groups="$(id -Gn "$USER" | tr ' ' ':')"
+svdir="$HOME/runit/service"
+
+exec chpst -u "$USER:$groups" runsvdir "$svdir"