summaryrefslogtreecommitdiff
path: root/roles/vcsworker/files/vcsworker.service
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2019-07-04 17:53:37 +0300
committerLars Wirzenius <lwirzenius@wikimedia.org>2019-07-04 17:53:37 +0300
commita0abd4a7aa5e7b3bee5196c5f1085037b9a7aab5 (patch)
treea7efb19ac05281bb597a258ee129da2c9d3686ff /roles/vcsworker/files/vcsworker.service
parentd9a5c08c7a350b6fa612a1a141d9e1cd91871b4d (diff)
downloadwmf-gitlab-a0abd4a7aa5e7b3bee5196c5f1085037b9a7aab5.tar.gz
Add: haproxy, system files
Diffstat (limited to 'roles/vcsworker/files/vcsworker.service')
-rw-r--r--roles/vcsworker/files/vcsworker.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/vcsworker/files/vcsworker.service b/roles/vcsworker/files/vcsworker.service
new file mode 100644
index 0000000..d06521b
--- /dev/null
+++ b/roles/vcsworker/files/vcsworker.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=VCS worker
+After=network.target
+
+[Service]
+Type=simple
+User=_wmf
+Group=_wmf
+ExecStart=/srv/wmf-ci-arch/api.py vcsworker /etc/wmf_ci_token.pub /etc/wmf_gitlab_token
+KillSignal=QUIT
+
+[Install]
+WantedBy=multi-user.target