From 3fd741756f8b1f75c3051c4c8ba36b56c5175a48 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 28 Jan 2019 12:02:10 +0200 Subject: Clean temporary backwards-compatibility stuff from bbot-agent@.service --- bbot/bbot-agent@.service | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'bbot/bbot-agent@.service') diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service index 43b9e8c..58f22a5 100644 --- a/bbot/bbot-agent@.service +++ b/bbot/bbot-agent@.service @@ -28,7 +28,7 @@ Environment=CONNECT_TIMEOUT=60 Environment=REQUEST_TIMEOUT=300 Environment=REQUEST_RETRIES=4 -Environment=TOOLCHAIN_NAME=%i +Environment=TOOLCHAIN_NAME=default Environment=TOOLCHAIN_NUM=1 Environment=TOOLCHAIN_VER= Environment=TOOLCHAIN_ID= @@ -36,7 +36,9 @@ Environment=TOOLCHAIN_ID= Environment="CONTROLLER_URL=" Environment="CONTROLLER_TRUST=" -ExecStart=/build/bots/%i/bin/bbot-agent \ +# Note that we cannot use ${TOOLCHAIN_NAME} in the first word of ExecStart. +# +ExecStart=/build/bots/default/bin/bbot-agent \ --systemd-daemon \ --verbose ${VERBOSE} \ --auth-key ${AUTH_KEY} \ @@ -53,7 +55,7 @@ ExecStart=/build/bots/%i/bin/bbot-agent \ --toolchain-num ${TOOLCHAIN_NUM} \ --toolchain-ver ${TOOLCHAIN_VER} \ --toolchain-id ${TOOLCHAIN_ID} \ - --instance 1 \ + --instance %i \ $CONTROLLER_TRUST \ $CONTROLLER_URL -- cgit v1.1