#!/sbin/runscript # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ depend() { after heimdal-kdc } start() { ebegin "Starting Heimdal KCM..." start-stop-daemon --start --pidfile /var/run/kcm.pid --exec /usr/sbin/kcm -- --detach eend $? } stop() { ebegin "Stopping Heimdal KCM..." start-stop-daemon --stop --pidfile /var/run/kcm.pid eend $? } restart() { svc_stop svc_start }