aboutsummaryrefslogtreecommitdiff
path: root/etc/bootstrap/bbot-rc-d
blob: 12fadcd4979cb86b32df562f916084644bd6de35 (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 --environments /home/build/environments 2>&1 | /usr/bin/logger -p local1.info"

load_rc_config $name
run_rc_command "$1"