You've already forked gitlab-runner
fix: systemd gitlab service
This commit is contained in:
@@ -10,6 +10,7 @@ After=syslog.target network.target
|
||||
StartLimitInterval=5
|
||||
StartLimitBurst=10
|
||||
ExecStart={{ gitlab_runner_binary_path }} "run" "--working-directory" "{{ gitlab_runner_working_directory }}" "--config" "{{ gitlab_runner_config_path }}" "--service" "gitlab-runner"{% if not gitlab_runner_user == "root" %} "--user" "{{ gitlab_runner_user }}" {% endif %}
|
||||
|
||||
Restart=always
|
||||
RestartSec=120
|
||||
#EnvironmentFile=-/etc/sysconfig/gitlab-runner
|
||||
|
||||
Reference in New Issue
Block a user