diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-04 19:22:35 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-04 19:22:35 -0500 |
commit | 81428a313f361f9befbee70a17f659752ad331c1 (patch) | |
tree | ea14faf0854d98e34930395a5468682cc00138ba /user/heimdal/heimdal-kadmind.initd | |
parent | c864e0201a1d0515fa07be1baa881972d69ab6f8 (diff) | |
download | packages-81428a313f361f9befbee70a17f659752ad331c1.tar.gz packages-81428a313f361f9befbee70a17f659752ad331c1.tar.bz2 packages-81428a313f361f9befbee70a17f659752ad331c1.tar.xz packages-81428a313f361f9befbee70a17f659752ad331c1.zip |
user/heimdal: pull in for cyrus-sasl
Diffstat (limited to 'user/heimdal/heimdal-kadmind.initd')
-rwxr-xr-x | user/heimdal/heimdal-kadmind.initd | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/user/heimdal/heimdal-kadmind.initd b/user/heimdal/heimdal-kadmind.initd new file mode 100755 index 000000000..73f23815c --- /dev/null +++ b/user/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 $? +} |