9d08571dcc
--HG-- extra : convert_revision : a6a118c58ee1ac50a1df444f1fd99a1165355889
24 lines
411 B
Text
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 $?
|
|
}
|