summarylogtreecommitdiffstats
path: root/gitlab-backup.service
diff options
context:
space:
mode:
authorLopo2015-10-01 17:51:18 +0200
committerLopo2015-10-01 17:51:18 +0200
commit46c8ce39b4802ba5973a3040380227fdafd33202 (patch)
tree4e86d4428b34e41d1dcbc5b3475ed286a0d70f47 /gitlab-backup.service
parent7ce9b4e619845a9b7d976ff397c33a9df3ad8b09 (diff)
downloadaur-46c8ce39b4802ba5973a3040380227fdafd33202.tar.gz
v8.0.3
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