summaryrefslogtreecommitdiff
path: root/startup/freebsd.rc
diff options
context:
space:
mode:
Diffstat (limited to 'startup/freebsd.rc')
-rwxr-xr-x[-rw-r--r--]startup/freebsd.rc6
1 files changed, 4 insertions, 2 deletions
diff --git a/startup/freebsd.rc b/startup/freebsd.rc
index 53bc8d9..c696412 100644..100755
--- a/startup/freebsd.rc
+++ b/startup/freebsd.rc
@@ -2,14 +2,16 @@
#
# PROVIDE: goircd
-# REQUIRE: FILESYSTEMS NETWORKING
+# REQUIRE: DAEMON
. /etc/rc.subr
name="goircd"
rcvar=goircd_enable
command="/home/goircd/goircd"
-command_args="-hostname irc.example.com &"
+command_args="-hostname irc.example.com >> /var/log/goircd.log 2>&1 &"
+goircd_user="goircd"
+goircd_group="goircd"
load_rc_config $name
run_rc_command "$1"