goircd/startup/freebsd.rc

18 lines
286 B
Plaintext
Raw Normal View History

2015-10-07 16:30:12 +00:00
#!/bin/sh
#
# PROVIDE: goircd
2015-10-11 18:02:52 +00:00
# REQUIRE: DAEMON
2015-10-07 16:30:12 +00:00
. /etc/rc.subr
name="goircd"
rcvar=goircd_enable
command="/home/goircd/goircd"
2015-10-11 18:02:52 +00:00
command_args="-hostname irc.example.com >> /var/log/goircd.log 2>&1 &"
goircd_user="goircd"
goircd_group="goircd"
2015-10-07 16:30:12 +00:00
load_rc_config $name
run_rc_command "$1"