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

24 lines
411 B
Text

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