aboutsummaryrefslogtreecommitdiff
path: root/bbot/bbot-agent@.service
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/bbot-agent@.service')
-rw-r--r--bbot/bbot-agent@.service12
1 files changed, 10 insertions, 2 deletions
diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service
index 294fde7..253cc61 100644
--- a/bbot/bbot-agent@.service
+++ b/bbot/bbot-agent@.service
@@ -14,7 +14,8 @@ Type=simple
Environment=VERBOSE=3
Environment=CPU=1
-Environment=RAM=1048576
+Environment=RAM_BUILD=4194304
+Environment=RAM_AUXIL=0
Environment=BRIDGE=br1
Environment=AUTH_KEY=
@@ -22,6 +23,7 @@ Environment=AUTH_KEY=
Environment=INTERACTIVE=false
Environment=BOOTSTRAP_TIMEOUT=3600
+Environment=BOOTSTRAP_AUXILIARY=900
Environment=BOOTSTRAP_RETRIES=2
Environment=BUILD_TIMEOUT=5400
@@ -38,6 +40,8 @@ Environment=TOOLCHAIN_NUM=1
Environment=TOOLCHAIN_VER=
Environment=TOOLCHAIN_ID=
+Environment=INSTANCE_MAX=0
+
Environment="CONTROLLER_URL="
Environment="CONTROLLER_TRUST="
@@ -47,11 +51,13 @@ ExecStart=/build/bots/default/bin/bbot-agent \
--systemd-daemon \
--verbose ${VERBOSE} \
--cpu ${CPU} \
- --ram ${RAM} \
+ --build-ram ${RAM_BUILD} \
+ --auxiliary-ram ${RAM_AUXIL} \
--bridge ${BRIDGE} \
--auth-key ${AUTH_KEY} \
--interactive ${INTERACTIVE} \
--bootstrap-timeout ${BOOTSTRAP_TIMEOUT} \
+ --bootstrap-auxiliary ${BOOTSTRAP_AUXILIARY} \
--bootstrap-retries ${BOOTSTRAP_RETRIES} \
--build-timeout ${BUILD_TIMEOUT} \
--build-retries ${BUILD_RETRIES} \
@@ -63,11 +69,13 @@ ExecStart=/build/bots/default/bin/bbot-agent \
--toolchain-num ${TOOLCHAIN_NUM} \
--toolchain-ver ${TOOLCHAIN_VER} \
--toolchain-id ${TOOLCHAIN_ID} \
+ --instance-max ${INSTANCE_MAX} \
--instance %i \
$CONTROLLER_TRUST \
$CONTROLLER_URL
Nice=0
+CPUAffinity=
User=build
Group=build
WorkingDirectory=~