aboutsummaryrefslogtreecommitdiff
path: root/bbot/bbot-agent@.service
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-01-17 13:41:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-01-17 13:43:02 +0200
commit432bc29a5c4b24b24e5c33feb34d38153978b718 (patch)
tree34e6e58bcc1e213d1fe982401954ff07f8081b52 /bbot/bbot-agent@.service
parentc2b740d4560d8dc3f75cba65bae2ba93ea8e177c (diff)
Fix issue in systemd service file
It appears we cannot use variables in the first word of ExecStart.
Diffstat (limited to 'bbot/bbot-agent@.service')
-rw-r--r--bbot/bbot-agent@.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service
index 522fc3f..408320c 100644
--- a/bbot/bbot-agent@.service
+++ b/bbot/bbot-agent@.service
@@ -36,7 +36,7 @@ Environment=TOOLCHAIN_ID=
Environment="CONTROLLER_URL="
Environment="CONTROLLER_TRUST="
-ExecStart=/build/bots/${TOOLCHAIN_NAME}/bin/bbot-agent \
+ExecStart=/build/bots/%i/bin/bbot-agent \
--systemd-daemon \
--verbose ${VERBOSE} \
--auth-key ${AUTH_KEY} \