From 578413a1f8781f03c2ddccb4d3c5d441c9579a3b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 4 Apr 2017 14:58:08 +0200 Subject: Add --cpu and --ram options --- bbot/bbot-agent@.service | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bbot/bbot-agent@.service') diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service index 8b3b7a3..64e07d2 100644 --- a/bbot/bbot-agent@.service +++ b/bbot/bbot-agent@.service @@ -4,7 +4,9 @@ After=default.target [Service] Type=simple -ExecStart=/build/toolchains/%i/bin/bbot-agent %i +Environment=CPU=1 +Environment=RAM=1048576 +ExecStart=/build/bbot/%i/bin/bbot-agent --cpu ${CPU} --ram ${RAM} %i User=build Group=build WorkingDirectory=~ -- cgit v1.1