diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-04-30 14:33:08 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-04-30 14:33:08 +0000 |
commit | cb7d544109b80941b32d6acedb7cc52b2e30fae3 (patch) | |
tree | 5d953c769dc6578ba5abd212fc8f7aee18cade88 /main/krb5/krb5kdc.initd | |
parent | b383289d2ba7fe0e234b156e6c0c48f7fc0120cb (diff) | |
download | aports-cb7d544109b80941b32d6acedb7cc52b2e30fae3.tar.bz2 aports-cb7d544109b80941b32d6acedb7cc52b2e30fae3.tar.xz |
main/krb5: moved from testing
Diffstat (limited to 'main/krb5/krb5kdc.initd')
-rw-r--r-- | main/krb5/krb5kdc.initd | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/main/krb5/krb5kdc.initd b/main/krb5/krb5kdc.initd new file mode 100644 index 0000000000..94f1f79379 --- /dev/null +++ b/main/krb5/krb5kdc.initd @@ -0,0 +1,24 @@ +#!/sbin/runscript + +#--------------------------------------------------------------------------- +# This script starts/stops the MIT Kerberos 5 KDC +#--------------------------------------------------------------------------- + +daemon="MIT Kerberos 5 KDC" +exec="/usr/sbin/krb5kdc" + +depend() { + use net +} + +start() { + ebegin "Starting $daemon" + start-stop-daemon --start --quiet --exec ${exec} 1>&2 + eend $? "Error starting $daemon" +} + +stop() { + ebegin "Stopping $daemon" + start-stop-daemon --stop --quiet --exec ${exec} 1>&2 + eend $? "Error stopping $daemon" +} |