diff options
Diffstat (limited to 'bbot/bbot-agent@.service')
-rw-r--r-- | bbot/bbot-agent@.service | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service index af760b3..5f160cf 100644 --- a/bbot/bbot-agent@.service +++ b/bbot/bbot-agent@.service @@ -12,9 +12,13 @@ Environment=RAM=1048576 Environment=BOOTSTRAP_TIMEOUT=600 Environment=BUILD_TIMEOUT=1800 +Environment=REQUEST_TIMEOUT=300 -Environment=TOOLCHAIN_ID=123abc +Environment=TOOLCHAIN_NAME=%i Environment=TOOLCHAIN_NUM=1 +Environment=TOOLCHAIN_ID= + +Environment="CONTROLLER_URL=https://example.org/?build-task" ExecStart=/build/bbot/%i/bin/bbot-agent --systemd-daemon \ --verbose ${VERBOSE} \ @@ -22,9 +26,11 @@ ExecStart=/build/bbot/%i/bin/bbot-agent --systemd-daemon \ --ram ${RAM} \ --bootstrap-timeout ${BOOTSTRAP_TIMEOUT} \ --build-timeout ${BUILD_TIMEOUT} \ - %i \ - ${TOOLCHAIN_NUM} \ - ${TOOLCHAIN_ID} + --request-timeout ${REQUEST_TIMEOUT} \ + --toolchain-name ${TOOLCHAIN_NAME} \ + --toolchain-num ${TOOLCHAIN_NUM} \ + --toolchain-id ${TOOLCHAIN_ID} \ + $CONTROLLER_URL User=build Group=build |