aboutsummaryrefslogtreecommitdiff
path: root/bbot/bbot-agent@.service
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-06-01 19:52:54 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-06-02 12:40:32 +0300
commit983eb4b40d63427b619f90e7fe05b4717129a927 (patch)
tree78ed66944acd13f69d9af4995894181c920f3493 /bbot/bbot-agent@.service
parent6a67e021019a415b69d5f85bb157c566973413c7 (diff)
Add support for bbot agent authentication
Diffstat (limited to 'bbot/bbot-agent@.service')
-rw-r--r--bbot/bbot-agent@.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service
index 7d8c250..41486e2 100644
--- a/bbot/bbot-agent@.service
+++ b/bbot/bbot-agent@.service
@@ -7,6 +7,8 @@ Type=simple
Environment=VERBOSE=3
+Environment=AUTH_KEY=
+
Environment=CPU=1
Environment=RAM=1048576
@@ -26,6 +28,7 @@ Environment="CONTROLLER_TRUST="
ExecStart=/build/bots/%i/bin/bbot-agent --systemd-daemon \
--verbose ${VERBOSE} \
+ --auth-key ${AUTH_KEY} \
--cpu ${CPU} \
--ram ${RAM} \
--bootstrap-timeout ${BOOTSTRAP_TIMEOUT} \