From e9f76f4d8cc75ecd7e51c97b3af621dbfa8c6dd0 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 2 Jul 2014 13:42:50 +0000 Subject: Add systemd units to run backup-gitlab periodically --- .../usr/share/gitlab-install/systemd-units/gitlab-backup.service | 4 ++-- .../usr/share/gitlab-install/systemd-units/gitlab-backup.timer | 2 +- 2 files changed, 3 insertions(+), 3 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 index 967a65e3..8672c36d 100644 --- a/gitlab-server/usr/share/gitlab-install/systemd-units/gitlab-backup.service +++ b/gitlab-server/usr/share/gitlab-install/systemd-units/gitlab-backup.service @@ -7,5 +7,5 @@ WantedBy=gitlab.target [Service] ExecStart=/usr/share/gitlab-install/backup-gitlab -User=git -Group=git +User=postgres +Group=postgres diff --git a/gitlab-server/usr/share/gitlab-install/systemd-units/gitlab-backup.timer b/gitlab-server/usr/share/gitlab-install/systemd-units/gitlab-backup.timer index 1c2f57ba..1686843f 100644 --- a/gitlab-server/usr/share/gitlab-install/systemd-units/gitlab-backup.timer +++ b/gitlab-server/usr/share/gitlab-install/systemd-units/gitlab-backup.timer @@ -5,4 +5,4 @@ Description=GitLab Backup Timer WantedBy=gitlab.target [Timer] -OnCalendar=*-*-* 00/4:00:00 +OnCalendar=*-*-* 00:*:* -- cgit v1.2.1