summaryrefslogtreecommitdiff
path: root/gitlab-server/usr/share/gitlab-install/systemd-units/gitlab-backup.service
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-05-21 10:52:06 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-05-21 10:52:06 +0000
commit47f8006f6c1635d8b1af216b65e4a99a707caa66 (patch)
tree460584a7fc05c5e8c92dccaf3b8e86e88e462461 /gitlab-server/usr/share/gitlab-install/systemd-units/gitlab-backup.service
parent2d7145be1ea96d345b494da30291a4f5eb1c922c (diff)
parentcd86b155042f6fca18c231b862d8e923eb38b441 (diff)
downloaddefinitions-47f8006f6c1635d8b1af216b65e4a99a707caa66.tar.gz
Merge remote-tracking branch 'origin/baserock/liw/gitlab-backup-cronjob'
Reviewed-by: Daniel Silverstone (email) Reviewed-by: Richard Maw (irc)
Diffstat (limited to 'gitlab-server/usr/share/gitlab-install/systemd-units/gitlab-backup.service')
-rw-r--r--gitlab-server/usr/share/gitlab-install/systemd-units/gitlab-backup.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/gitlab-server/usr/share/gitlab-install/systemd-units/gitlab-backup.service b/gitlab-server/usr/share/gitlab-install/systemd-units/gitlab-backup.service
new file mode 100644
index 00000000..967a65e3
--- /dev/null
+++ b/gitlab-server/usr/share/gitlab-install/systemd-units/gitlab-backup.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=GitLab Backup Run
+After=postgres.service
+
+[Install]
+WantedBy=gitlab.target
+
+[Service]
+ExecStart=/usr/share/gitlab-install/backup-gitlab
+User=git
+Group=git