summaryrefslogtreecommitdiff
path: root/startup/freebsd.rc
diff options
context:
space:
mode:
Diffstat (limited to 'startup/freebsd.rc')
-rw-r--r--startup/freebsd.rc15
1 files changed, 15 insertions, 0 deletions
diff --git a/startup/freebsd.rc b/startup/freebsd.rc
new file mode 100644
index 0000000..53bc8d9
--- /dev/null
+++ b/startup/freebsd.rc
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+
+# PROVIDE: goircd
+# REQUIRE: FILESYSTEMS NETWORKING
+
+. /etc/rc.subr
+
+name="goircd"
+rcvar=goircd_enable
+command="/home/goircd/goircd"
+command_args="-hostname irc.example.com &"
+
+load_rc_config $name
+run_rc_command "$1"