#!/sbin/openrc-run # vim: set ft=gentoo-init-d : : "${KRB5_KEYTAB:=/etc/krb5.keytab}" : "${KRB5_PRINCIPAL:=$(hostname | cut -d. -f1 | tr "a-z" "A-Z")\$}" : ${K5START_INTERVAL:=30} depend() { before netmount } pidfile=/run/k5start.pid command=/usr/bin/k5start command_args="-p ${pidfile} -b -K ${K5START_INTERVAL} -f ${KRB5_KEYTAB} \ ${KRB5_PRINCIPAL}" required_files="${KRB5_KEYTAB}"