+#!/bin/sh
+# -----------------------------------------------------
+# Rakka's rc script for NetBSD
+# -----------------------------------------------------
+# Put this file into your /etc/rc.d/
+# FreeBSD users should also be able to use this script.
+# -----------------------------------------------------
+
+# PROVIDE: rakka
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="rakka"
+rcvar=$name
+command="@RAKKA_BINDIR@/rakka"
+pidfile="@RAKKA_LOCALSTATEDIR@/pid"
+
+load_rc_config $name
+run_rc_command "$1"