#!/sbin/openrc-run

description="Redis docker container"

depend() {
	need docker net
	use dns logger netmount
}

start() {
	/usr/bin/docker run -d --rm --name redis -v /srv/redis/redis.conf:/etc/redis.conf -v /srv/redis/data:/var/lib/redis redis
}

stop() {
	/usr/bin/docker stop redis
}
