#!/sbin/openrc-run
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

command="gssproxy"
command_args="-D"
pidfile="/var/run/gssproxy.pid"

depend() {
	use logger
}

start_pre() {
	checkpath -d -m 0755 /var/lib/gssproxy
	checkpath -d -m 0700 /var/lib/gssproxy/clients
	checkpath -d -m 0700 /var/lib/gssproxy/rcache
}
