summaryrefslogtreecommitdiff
path: root/sysutils/oak/files/oak.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/oak/files/oak.sh')
-rw-r--r--sysutils/oak/files/oak.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/oak/files/oak.sh b/sysutils/oak/files/oak.sh
new file mode 100644
index 00000000000..d704f998b53
--- /dev/null
+++ b/sysutils/oak/files/oak.sh
@@ -0,0 +1,17 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# oak - Jason White <jdwhite@jdwhite.org>
+#
+# PROVIDE: oak
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="oak"
+rcvar=$name
+command="@PREFIX@/bin/oak"
+command_args="-c @PKG_SYSCONFDIR@/oak.conf"
+required_files="@PKG_SYSCONFDIR@/oak.conf"
+
+load_rc_config $name
+run_rc_command "$1"