summaryrefslogtreecommitdiff
path: root/gitlab-server/usr/share/gitlab-install/systemd-units/gitlab-backup.service
diff options
context:
space:
mode:
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