aboutsummaryrefslogtreecommitdiff
path: root/bbot/bbot-agent@.service
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-18 15:08:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-18 15:08:40 +0200
commitcf750a234613d0af4a4c6c411ab6eea5ba6a219b (patch)
tree1d5f1b3bddbc09fadda2a63b41fa78a3a42b4c28 /bbot/bbot-agent@.service
parent2d8dc6c905dbde7da2d324a559d08af77231d062 (diff)
Add --trust agent option
Diffstat (limited to 'bbot/bbot-agent@.service')
-rw-r--r--bbot/bbot-agent@.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service
index 5f160cf..b19e97c 100644
--- a/bbot/bbot-agent@.service
+++ b/bbot/bbot-agent@.service
@@ -18,7 +18,8 @@ Environment=TOOLCHAIN_NAME=%i
Environment=TOOLCHAIN_NUM=1
Environment=TOOLCHAIN_ID=
-Environment="CONTROLLER_URL=https://example.org/?build-task"
+Environment="CONTROLLER_URL="
+Environment="CONTROLLER_TRUST="
ExecStart=/build/bbot/%i/bin/bbot-agent --systemd-daemon \
--verbose ${VERBOSE} \
@@ -30,6 +31,7 @@ ExecStart=/build/bbot/%i/bin/bbot-agent --systemd-daemon \
--toolchain-name ${TOOLCHAIN_NAME} \
--toolchain-num ${TOOLCHAIN_NUM} \
--toolchain-id ${TOOLCHAIN_ID} \
+ $CONTROLLER_TRUST \
$CONTROLLER_URL
User=build