Spotter-VM/solr/setup/etc/init.d/solr

16 lines
133 B
Plaintext
Raw Normal View History

2017-12-19 16:31:35 +01:00
#!/sbin/openrc-run
2018-09-05 22:20:24 +02:00
description="Solr container"
2017-12-19 16:31:35 +01:00
depend() {
2018-09-07 15:47:44 +02:00
need cgroups
2017-12-19 16:31:35 +01:00
}
start() {
2018-09-07 15:47:44 +02:00
lxc-start solr
2017-12-19 16:31:35 +01:00
}
stop() {
2018-09-07 15:47:44 +02:00
lxc-stop solr
2017-12-19 16:31:35 +01:00
}