From a2ef74aaab96f63f3126d277217b071ad11bf0c6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 11 May 2023 11:13:56 +0200 Subject: Add --instance-max agent option This is the ground work for the task priority/interrupt support. --- bbot/bbot-agent@.service | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bbot/bbot-agent@.service') diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service index e938126..18b7c9e 100644 --- a/bbot/bbot-agent@.service +++ b/bbot/bbot-agent@.service @@ -38,6 +38,8 @@ Environment=TOOLCHAIN_NUM=1 Environment=TOOLCHAIN_VER= Environment=TOOLCHAIN_ID= +Environment=INSTANCE_MAX=0 + Environment="CONTROLLER_URL=" Environment="CONTROLLER_TRUST=" @@ -63,6 +65,7 @@ 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 -- cgit v1.1