#!/sbin/openrc-run

description="Postgres container"

depend() {
	need lxc
}

start() {
	lxc-start -n postgres
}

start_post() {
	ewaitfile 60 /var/lib/lxc/postgres/delta0/var/run/postgresql/.s.PGSQL.5432
}

stop() {
	lxc-stop -n postgres
}
