summaryrefslogtreecommitdiff
path: root/startup/freebsd.rc
blob: c696412bc99f7dc31871ceff49571b881ff9762c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#

# PROVIDE: goircd
# REQUIRE: DAEMON

. /etc/rc.subr

name="goircd"
rcvar=goircd_enable
command="/home/goircd/goircd"
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"