diff options
Diffstat (limited to 'gitlab-unicorn.service')
-rw-r--r-- | gitlab-unicorn.service | 4 |
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 |