[Unit] Description=GitLab Runner ConditionFileIsExecutable=$HOME/gitlab-runner After=syslog.target network.target [Service] StartLimitInterval=5 StartLimitBurst=10 ExecStart=$HOME/gitlab-runner "run" "--working-directory" "$HOME" "--config" "$HOME/.gitlab-runner/config.toml" "--service" "gitlab-runner" Restart=always RestartSec=120 [Install] WantedBy=default.target