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

16 lines
136 B
Plaintext
Raw Normal View History

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