diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-11 11:13:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-11 11:16:04 +0200 |
commit | a2ef74aaab96f63f3126d277217b071ad11bf0c6 (patch) | |
tree | af5dea187cd0c91f73c04f68ff447b9bf0841726 /bbot/bbot-agent@.service | |
parent | a3463829567defda8aefa8425e79ff4d270617ba (diff) |
Add --instance-max agent option
This is the ground work for the task priority/interrupt support.
Diffstat (limited to 'bbot/bbot-agent@.service')
-rw-r--r-- | bbot/bbot-agent@.service | 3 |
1 files changed, 3 insertions, 0 deletions
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 |