diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-11 10:38:28 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-11 10:38:28 +0000 |
commit | bb3c293a86c9ad9e1f80fb1a35fbf216e7b54b5f (patch) | |
tree | 0f96d6dbc94715d0e18b408905a108c09b9d4e1d /legacy/heimdal/heimdal-kadmind.initd | |
parent | 00aa49a062ccc758c333353409d4e4c0065a2482 (diff) | |
download | packages-bb3c293a86c9ad9e1f80fb1a35fbf216e7b54b5f.tar.gz packages-bb3c293a86c9ad9e1f80fb1a35fbf216e7b54b5f.tar.bz2 packages-bb3c293a86c9ad9e1f80fb1a35fbf216e7b54b5f.tar.xz packages-bb3c293a86c9ad9e1f80fb1a35fbf216e7b54b5f.zip |
user/heimdal: move to legacy/
Diffstat (limited to 'legacy/heimdal/heimdal-kadmind.initd')
-rwxr-xr-x | legacy/heimdal/heimdal-kadmind.initd | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/legacy/heimdal/heimdal-kadmind.initd b/legacy/heimdal/heimdal-kadmind.initd new file mode 100755 index 000000000..73f23815c --- /dev/null +++ b/legacy/heimdal/heimdal-kadmind.initd @@ -0,0 +1,24 @@ +#!/sbin/openrc-run +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/files/heimdal-kadmind,v 1.3 2004/09/13 22:44:54 solar Exp $ + +depend() { + need net + use heimdal-kdc + after logger +} + +start() { + ebegin "Starting heimdal kadmind" + /usr/sbin/kadmind & + echo $! > /var/run/heimdal-kadmind.pid + eend $? +} + +stop() { + ebegin "Stopping heimdal kadmind" + start-stop-daemon --stop --quiet --exec \ + /usr/sbin/kadmind + eend $? +} |