aboutsummaryrefslogtreecommitdiffstats
path: root/testing/krb5/krb5kpropd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/krb5/krb5kpropd.initd')
-rw-r--r--testing/krb5/krb5kpropd.initd24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/krb5/krb5kpropd.initd b/testing/krb5/krb5kpropd.initd
new file mode 100644
index 0000000000..8b4b82975e
--- /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"
+}