vp-build/srcpkgs/heimdal/files/kdc.rc
Juan RP 9d08571dcc Added heimdal-1.3.1 build template.
--HG--
extra : convert_revision : a6a118c58ee1ac50a1df444f1fd99a1165355889
2010-03-08 05:17:26 +01:00

25 lines
387 B
Plaintext

#!/sbin/runscript
: ${PIDFILE:=/var/run/kdc.pid}
depend()
{
need net localmount
provide kdc
}
start()
{
ebegin "Starting Heimdal Kerberos kdc"
start-stop-daemon --start --pidfile=${PIDFILE} --background \
--make-pidfile --exec /usr/libexec/kdc -- ${KDC_ARGS}
eend $?
}
stop()
{
ebegin "Stopping Heimdal Kerberos kdc"
start-stop-daemon --stop --pidfile ${PIDFILE}
eend $?
}