mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
18 lines
493 B
SYSTEMD
18 lines
493 B
SYSTEMD
|
[Unit]
|
||
|
Description=GitLab Runner
|
||
|
After=syslog.target network.target
|
||
|
ConditionFileIsExecutable=/usr/bin/gitlab-runner
|
||
|
|
||
|
[Service]
|
||
|
StartLimitInterval=5
|
||
|
StartLimitBurst=10
|
||
|
ExecStart=/usr/bin/gitlab-runner "run" "--working-directory" "/var/lib/gitlab-runner" "--config" "/etc/gitlab-runner/config.toml" "--service" "gitlab-runner" "--user" "gitlab-runner"
|
||
|
Restart=always
|
||
|
RestartSec=120
|
||
|
StandardOutput=syslog
|
||
|
StandardError=syslog
|
||
|
SyslogIdentifier=gitlab-runner
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|