Disassembler 182c9eb10b Minor script updates
- Make init.d scripts executable
- Change shebang from bash to sh
- Alpinize zz-cleanup.sh
2017-12-19 19:27:44 +01:00

17 lines
242 B
Plaintext
Executable File

#!/sbin/openrc-run
description="Solr docker container"
depend() {
need docker net
use dns logger netmount
}
start() {
/usr/bin/docker run -d --rm --name solr -v /srv/solr/data:/var/lib/solr solr
}
stop() {
/usr/bin/docker stop solr
}