summarylogtreecommitdiffstats
path: root/gitlab-backup.service
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab-backup.service')
-rw-r--r--gitlab-backup.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab-backup.service b/gitlab-backup.service
index ffaa7f3d199e..4c4c8eaabc0b 100644
--- a/gitlab-backup.service
+++ b/gitlab-backup.service
@@ -9,7 +9,7 @@ User=gitlab
Group=gitlab
SyslogIdentifier=gitlab-backup
WorkingDirectory=<DATADIR>
-Environment=RAILS_ENV=production
+Environment=RAILS_ENV=production PATH=/opt/ruby2.1/bin:/usr/bin
CapabilityBoundingSet=
PrivateTmp=true
@@ -18,4 +18,4 @@ ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
-ExecStart=/usr/bin/bundle exec rake gitlab:backup:create \ No newline at end of file
+ExecStart=/usr/bin/bundle-2.1 exec rake gitlab:backup:create \ No newline at end of file