summarylogtreecommitdiffstats
path: root/gitlab-unicorn.service
diff options
context:
space:
mode:
authorLopo2015-10-01 17:51:18 +0200
committerLopo2015-10-01 17:51:18 +0200
commit46c8ce39b4802ba5973a3040380227fdafd33202 (patch)
tree4e86d4428b34e41d1dcbc5b3475ed286a0d70f47 /gitlab-unicorn.service
parent7ce9b4e619845a9b7d976ff397c33a9df3ad8b09 (diff)
downloadaur-46c8ce39b4802ba5973a3040380227fdafd33202.tar.gz
v8.0.3
Diffstat (limited to 'gitlab-unicorn.service')
-rw-r--r--gitlab-unicorn.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab-unicorn.service b/gitlab-unicorn.service
index b1e9370244a9..780fa6b98fa9 100644
--- a/gitlab-unicorn.service
+++ b/gitlab-unicorn.service
@@ -8,7 +8,7 @@ After=redis.service mysqld.service postgresql.service network.target
User=gitlab
Group=gitlab
WorkingDirectory=<DATADIR>
-Environment=RAILS_ENV=production
+Environment=RAILS_ENV=production PATH=/opt/ruby2.1/bin:/usr/bin
SyslogIdentifier=gitlab-unicorn
PIDFile=/run/gitlab/unicorn.pid
@@ -22,7 +22,7 @@ ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
-ExecStart=/usr/bin/bundle exec "unicorn_rails -c <DATADIR>/config/unicorn.rb -E production"
+ExecStart=/usr/bin/bundle-2.1 exec "unicorn_rails -c <DATADIR>/config/unicorn.rb -E production"
ExecStop=/usr/bin/kill -QUIT $MAINPID
ExecReload=/usr/bin/kill -USR2 $MAINPID