#!/sbin/openrc-run
name="Cloud Config Server"
description="Spring Cloud Config Server"
command="/usr/bin/cloud-config-server"
command_background=true
pidfile="/run/$RC_SVCNAME.pid"
output_log="/var/log/$RC_SVCNAME/output.log"
error_log="/var/log/$RC_SVCNAME/error.log"

depend() {
	need net
}

start_pre() {
	checkpath --directory --owner root:root --mode 0755 \
		/var/log/$RC_SVCNAME
}
