aboutsummaryrefslogtreecommitdiff
path: root/etc/bootstrap/bbot-rc-d
blob: 720472164597ec8b0def5ec99cdc4fb00248f991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# REQUIRE: LOGIN

. /etc/rc.subr

name=bbot
command=/home/build/bbot-bootstrap.sh
command_interpreter=/bin/sh
bbot_user=build
start_cmd="/usr/sbin/daemon -u $bbot_user -t $name $command 2>&1 | /usr/bin/logger -p local1.info"

load_rc_config $name
run_rc_command "$1"