aboutsummaryrefslogtreecommitdiffstats
path: root/nhrp-events.initd
diff options
context:
space:
mode:
Diffstat (limited to 'nhrp-events.initd')
-rw-r--r--nhrp-events.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/nhrp-events.initd b/nhrp-events.initd
new file mode 100644
index 0000000..c42124f
--- /dev/null
+++ b/nhrp-events.initd
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+
+# init.d file for nhrp-events
+# Copyright (c) 2017-2018 Kaarle Ritvanen
+
+name=nhrp-events
+command=/usr/sbin/$name
+pidfile=/var/run/$name.pid
+command_background=1
+
+depend() {
+ need bgpd
+}