diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-03-05 20:15:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-03-05 20:18:04 +0000 |
commit | 00e29c1ee51552493601afa4d856cc4e3a8a94bc (patch) | |
tree | 77fd7b9e2ec54a0253cc0008d24477554ba924a3 /testing/krb5/krb5kpropd.initd | |
parent | d16250d952cfa746dad73504d805b5ca7ec8ba48 (diff) | |
download | aports-00e29c1ee51552493601afa4d856cc4e3a8a94bc.tar.bz2 aports-00e29c1ee51552493601afa4d856cc4e3a8a94bc.tar.xz |
testing/krb5: new aport
The Kerberos network authentication system
http://web.mit.edu/kerberos/www/
ref #1609
Diffstat (limited to 'testing/krb5/krb5kpropd.initd')
-rw-r--r-- | testing/krb5/krb5kpropd.initd | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/krb5/krb5kpropd.initd b/testing/krb5/krb5kpropd.initd new file mode 100644 index 000000000..8b4b82975 --- /dev/null +++ b/testing/krb5/krb5kpropd.initd @@ -0,0 +1,24 @@ +#!/sbin/runscript + +#--------------------------------------------------------------------------- +# This script starts/stops the MIT Kerberos 5 kpropd +#--------------------------------------------------------------------------- + +daemon="MIT Kerberos 5 kpropd" +exec="/usr/sbin/kpropd" + +depend() { + use net krb5kdc krb5kadmind +} + +start() { + ebegin "Starting $daemon" + start-stop-daemon --start --quiet --exec ${exec} -- -S 1>&2 + eend $? "Error starting $daemon" +} + +stop() { + ebegin "Stopping $daemon" + start-stop-daemon --stop --quiet --exec ${exec} 1>&2 + eend $? "Error stopping $daemon" +} |