]>
Commit | Line | Data |
---|---|---|
af21cb3e ER |
1 | # |
2 | # systemd unit file for CentOS 7, Ubuntu bleeding edge | |
3 | # | |
4 | [Unit] | |
5 | Description=GitLab CI-Multi Runner | |
6 | # start us only once the network and logging subsystems are available | |
7 | After=syslog.target network.target | |
8 | ||
9 | # See these pages for lots of options: | |
10 | # http://0pointer.de/public/systemd-man/systemd.service.html | |
11 | # http://0pointer.de/public/systemd-man/systemd.exec.html | |
12 | [Service] | |
13 | Type=simple | |
98c01f80 ER |
14 | User=gitlab-runner |
15 | Group=gitlab-runner | |
af21cb3e ER |
16 | ExecStart=/usr/bin/gitlab-ci-multi-runner run |
17 | ||
18 | # if we crash, restart | |
19 | RestartSec=1 | |
20 | Restart=on-failure | |
21 | ||
22 | # use syslog for logging | |
23 | StandardOutput=syslog | |
24 | StandardError=syslog | |
25 | SyslogIdentifier=gitlab-ci-multi-runner | |
26 | ||
27 | [Install] | |
28 | WantedBy=multi-user.target |