aboutsummaryrefslogtreecommitdiff
path: root/etc/bootstrap/bbot-bootstrap.service
diff options
context:
space:
mode:
Diffstat (limited to 'etc/bootstrap/bbot-bootstrap.service')
-rw-r--r--etc/bootstrap/bbot-bootstrap.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/bootstrap/bbot-bootstrap.service b/etc/bootstrap/bbot-bootstrap.service
index 6dbf365..5d6c023 100644
--- a/etc/bootstrap/bbot-bootstrap.service
+++ b/etc/bootstrap/bbot-bootstrap.service
@@ -13,13 +13,23 @@ Group=build
# Old versions of systemd have no '~'.
WorkingDirectory=/home/build
+# Uncomment this if there is an X server running (e.g., Xvfb).
+#
+#Environment=DISPLAY=:99
+
Environment=CXX=g++
+Environment=INSTALL=/usr/local
Environment=BUILD=/tmp
Environment=ENVIRONMENTS=/home/build/environments
+# Note: bootstrap script options must come before build.sh options/arguments.
+#
ExecStart=/usr/local/bin/bbot-bootstrap-linux.sh \
+--install ${INSTALL} \
--build ${BUILD} \
--environments ${ENVIRONMENTS} \
+--private \
+--sudo sudo \
${CXX}
StandardInput=tty-force