aboutsummaryrefslogtreecommitdiff
path: root/bbot/bbot-agent@.service
blob: f8349ffdb2c026dbc07dd2c63df131bf03a5abe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[Unit]
Description=bbot agent for %I
After=default.target

[Service]
Type=simple

Environment=CPU=1
Environment=RAM=1048576
Environment=VERBOSE=1
Environment=TOOLCHAIN_ID=123abc
Environment=TOOLCHAIN_NUM=1

ExecStart=/build/bbot/%i/bin/bbot-agent --systemd-daemon \
  --cpu ${CPU} \
  --ram ${RAM} \
  --verbose ${VERBOSE} \
  %i \
  ${TOOLCHAIN_NUM} \
  ${TOOLCHAIN_ID}

User=build
Group=build
WorkingDirectory=~

[Install]
WantedBy=default.target