]> Cypherpunks.ru repositories - goircd.git/blobdiff - startup/freebsd.rc
Various example startup scripts
[goircd.git] / startup / freebsd.rc
diff --git a/startup/freebsd.rc b/startup/freebsd.rc
new file mode 100644 (file)
index 0000000..53bc8d9
--- /dev/null
@@ -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"