aboutsummaryrefslogtreecommitdiff
path: root/etc/bootstrap/bbot-rc-d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/bootstrap/bbot-rc-d')
-rw-r--r--etc/bootstrap/bbot-rc-d9
1 files changed, 7 insertions, 2 deletions
diff --git a/etc/bootstrap/bbot-rc-d b/etc/bootstrap/bbot-rc-d
index 12fadcd..bbde152 100644
--- a/etc/bootstrap/bbot-rc-d
+++ b/etc/bootstrap/bbot-rc-d
@@ -5,10 +5,15 @@
. /etc/rc.subr
name=bbot
-command=/home/build/bbot-bootstrap.sh
+command=/home/build/bbot-bootstrap-freebsd.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"
+bbot_cxx=clang++
+bbot_build=/tmp
+bbot_environments="/home/$bbot_user/environments"
+
+start_cmd="/usr/sbin/daemon -u $bbot_user -t $name $command --cxx $bbot_cxx --build $bbot_build --environments $bbot_environments 2>&1 | /usr/bin/logger -p local1.info"
load_rc_config $name
run_rc_command "$1"