aboutsummaryrefslogtreecommitdiff
path: root/etc/bootstrap/bbot-rc-d
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-10-20 13:31:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-10-20 13:31:52 +0200
commit1fcd5d1067254c40921df17b8de906c81934077a (patch)
tree71dc34b096c6ee9544d8e99c6240b7fbf4d3078d /etc/bootstrap/bbot-rc-d
parent3ddab9d7360213cda421ac25f62cbf7ef92b513b (diff)
Add support for parallel bootstrap on Linux, Mac OS, and FreeBSD
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"