#!/sbin/openrc-run

description="Postgres container"

depend() {
	need cgroups
}

start() {
	lxc-start postgres
}

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

stop() {
	lxc-stop postgres
}
