blob: ecb0da4c506eae12b3dd7744353c36cfecd9c380 (
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
28
29
30
31
32
33
|
[Unit]
Description=bbot worker bootstrap
After=default.target
Conflicts=getty@tty1.service
[Service]
Type=idle
# Old versions of systemd have no 'infinity'.
TimeoutStartSec=6000min
RemainAfterExit=true
User=build
Group=build
# Old versions of systemd have no '~'.
WorkingDirectory=/home/build
Environment=CXX=g++
Environment=BUILD=/tmp
Environment=ENVIRONMENT=/home/build/environment
ExecStart=/usr/local/bin/bbot-bootstrap.sh \
--cxx ${CXX} \
--build ${BUILD} \
--environment ${ENVIRONMENT}
StandardInput=tty-force
StandardOutput=inherit
StandardError=inherit
TTYPath=/dev/tty1
TTYReset=yes
TTYVHangup=yes
[Install]
WantedBy=default.target
|