#!/sbin/runscript | |
# Copyright 1999-2013 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
# $Id$ | |
depend() { | |
use net heimdal-kdc | |
after logger | |
} | |
start() { | |
ebegin "Starting Heimdal kadmind" | |
/usr/sbin/kadmind "${OPTIONS}" & | |
echo $! > /var/run/heimdal-kadmind.pid | |
eend $? | |
} | |
stop() { | |
ebegin "Stopping Heimdal kadmind" | |
start-stop-daemon --stop --quiet --exec \ | |
/usr/sbin/kadmind | |
eend $? | |
} |