File gitlab-runner.service of Package gitlab-runner
[Unit] Description=GitLab Runner # start us only once the network and logging subsystems are available After=syslog.target network.target [Service] Type=simple User=root Group=root ExecStart=/usr/sbin/gitlab-runner run --working-directory /srv/gitlab-runner --config /etc/gitlab-runner/config.toml --service gitlab-runner --user gitlab-runner # if we crash, restart RestartSec=1 Restart=on-failure # use syslog for logging StandardOutput=syslog StandardError=syslog SyslogIdentifier=gitlab-runner [Install] WantedBy=multi-user.target