aboutsummaryrefslogtreecommitdiffstats
path: root/main/krb5/krb5kpropd.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-04-30 14:33:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-04-30 14:33:08 +0000
commitcb7d544109b80941b32d6acedb7cc52b2e30fae3 (patch)
tree5d953c769dc6578ba5abd212fc8f7aee18cade88 /main/krb5/krb5kpropd.initd
parentb383289d2ba7fe0e234b156e6c0c48f7fc0120cb (diff)
downloadaports-cb7d544109b80941b32d6acedb7cc52b2e30fae3.tar.bz2
aports-cb7d544109b80941b32d6acedb7cc52b2e30fae3.tar.xz
main/krb5: moved from testing
Diffstat (limited to 'main/krb5/krb5kpropd.initd')
-rw-r--r--main/krb5/krb5kpropd.initd24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/krb5/krb5kpropd.initd b/main/krb5/krb5kpropd.initd
new file mode 100644
index 0000000000..8b4b82975e
--- /dev/null
+++ b/main/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"
+}