aboutsummaryrefslogtreecommitdiff
path: root/bbot/bbot-agent@.service
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-12 15:27:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-12 15:27:40 +0200
commit4c7bb136ac8c1c1cd47942ad7fe8257b20997871 (patch)
tree27353008ece9a85fb7ef6b6106c338b432bda004 /bbot/bbot-agent@.service
parent50579107e3f628c2e3c644d5af01ef67404a0f2a (diff)
Complete agent side of machine bootstrap
Diffstat (limited to 'bbot/bbot-agent@.service')
-rw-r--r--bbot/bbot-agent@.service11
1 files changed, 9 insertions, 2 deletions
diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service
index f8349ff..af760b3 100644
--- a/bbot/bbot-agent@.service
+++ b/bbot/bbot-agent@.service
@@ -5,16 +5,23 @@ After=default.target
[Service]
Type=simple
+Environment=VERBOSE=1
+
Environment=CPU=1
Environment=RAM=1048576
-Environment=VERBOSE=1
+
+Environment=BOOTSTRAP_TIMEOUT=600
+Environment=BUILD_TIMEOUT=1800
+
Environment=TOOLCHAIN_ID=123abc
Environment=TOOLCHAIN_NUM=1
ExecStart=/build/bbot/%i/bin/bbot-agent --systemd-daemon \
+ --verbose ${VERBOSE} \
--cpu ${CPU} \
--ram ${RAM} \
- --verbose ${VERBOSE} \
+ --bootstrap-timeout ${BOOTSTRAP_TIMEOUT} \
+ --build-timeout ${BUILD_TIMEOUT} \
%i \
${TOOLCHAIN_NUM} \
${TOOLCHAIN_ID}