aboutsummaryrefslogtreecommitdiff
path: root/network/kea/rc.kea
diff options
context:
space:
mode:
Diffstat (limited to 'network/kea/rc.kea')
-rw-r--r--network/kea/rc.kea23
1 files changed, 23 insertions, 0 deletions
diff --git a/network/kea/rc.kea b/network/kea/rc.kea
new file mode 100644
index 000000000000..2d57a1089bf6
--- /dev/null
+++ b/network/kea/rc.kea
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+case "$1" in
+'start')
+ keactrl start
+ ;;
+'stop')
+ keactrl stop
+ ;;
+'restart')
+ keactrl stop
+ keactrl start
+ ;;
+'reload')
+ keactrl reload
+ ;;
+'status')
+ keactrl status
+ ;;
+*)
+ echo "usage $0 start|stop|restart|reload|status"
+esac
+