summaryrefslogtreecommitdiff
blob: a614c2232d8592cdf3c46208bf46f05db12814df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/sbin/openrc-run
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
	use net heimdal-kdc
	after logger
}

start() {
	ebegin "Starting Heimdal kpasswdd"
	start-stop-daemon --background --start --quiet --exec \
		/usr/sbin/kpasswdd -- "${OPTIONS}"
	eend $?
}

stop() {
	ebegin "Stopping Heimdal kpasswdd"
	start-stop-daemon --stop --quiet --exec \
		/usr/sbin/kpasswdd
	eend $?
}