]> Cypherpunks.ru repositories - goircd.git/blob - startup/freebsd.rc
Better FreeBSD's startup script
[goircd.git] / startup / freebsd.rc
1 #!/bin/sh
2 #
3
4 # PROVIDE: goircd
5 # REQUIRE: DAEMON
6
7 . /etc/rc.subr
8
9 name="goircd"
10 rcvar=goircd_enable
11 command="/home/goircd/goircd"
12 command_args="-hostname irc.example.com >> /var/log/goircd.log 2>&1 &"
13 goircd_user="goircd"
14 goircd_group="goircd"
15
16 load_rc_config $name
17 run_rc_command "$1"