about summary refs log tree commit diff homepage
path: root/rc.kfcgi
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--rc.kfcgi18
1 files changed, 18 insertions, 0 deletions
diff --git a/rc.kfcgi b/rc.kfcgi
new file mode 100644
index 0000000..6baa122
--- /dev/null
+++ b/rc.kfcgi
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# PROVIDE: kfcgi
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+
+. /etc/rc.subr
+
+name=kfcgi
+rcvar=kfcgi_enable
+load_rc_config ${name}
+
+: ${kfcgi_enable:=NO}
+kfcgi_flags="${kfcgi_flags} -- ${kfcgi_prog}"
+
+command=/usr/local/sbin/kfcgi
+
+run_rc_command "$1"