aboutsummaryrefslogtreecommitdiff
path: root/bbot/bbot-agent@.service
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/bbot-agent@.service')
-rw-r--r--bbot/bbot-agent@.service12
1 files changed, 11 insertions, 1 deletions
diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service
index 64e07d2..496692f 100644
--- a/bbot/bbot-agent@.service
+++ b/bbot/bbot-agent@.service
@@ -4,9 +4,19 @@ After=default.target
[Service]
Type=simple
+
Environment=CPU=1
Environment=RAM=1048576
-ExecStart=/build/bbot/%i/bin/bbot-agent --cpu ${CPU} --ram ${RAM} %i
+Environment=TOOLCHAIN_ID=123abc
+Environment=TOOLCHAIN_NUM=1
+
+ExecStart=/build/bbot/%i/bin/bbot-agent --systemd-daemon \
+ --cpu ${CPU} \
+ --ram ${RAM} \
+ %i \
+ ${TOOLCHAIN_NUM} \
+ ${TOOLCHAIN_ID}
+
User=build
Group=build
WorkingDirectory=~