20 lines
262 B
Plaintext
Executable File
20 lines
262 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
|
|
description="ActiveMQ docker container"
|
|
|
|
depend() {
|
|
need docker
|
|
}
|
|
|
|
start() {
|
|
/usr/bin/docker run -d --rm \
|
|
--name activemq \
|
|
-h activemq \
|
|
-v /srv/activemq/data:/srv/activemq/data \
|
|
activemq
|
|
}
|
|
|
|
stop() {
|
|
/usr/bin/docker stop activemq
|
|
}
|