diff --git a/init/systemd/gitlab-sidekiq.service b/init/systemd/gitlab-sidekiq.service index 3777be2..4b69658 100644 --- a/init/systemd/gitlab-sidekiq.service +++ b/init/systemd/gitlab-sidekiq.service @@ -1,10 +1,10 @@ -########################################################################################### +##################################################### # # GitLab version : 5.x - 6.x # Contributors : davispuh, mtorromeo, axilleas -# Downloaded from : https://github.com/gitlabhq/gitlab-recipes/tree/master/init/systemd +# Downloaded from : https://github.com/gitlabhq/gitlab-recipes/tree/master/init/systemd # -########################################################################################### +#################################################### [Unit] Description=GitLab Sidekiq Worker @@ -18,7 +18,7 @@ User=git WorkingDirectory=/home/git/gitlab Environment=RAILS_ENV=production SyslogIdentifier=gitlab-sidekiq -PidFile=/home/git/gitlab/tmp/pids/sidekiq.pid +PIDFile=/home/git/gitlab/tmp/pids/sidekiq.pid ExecStart=/usr/bin/bundle exec rake sidekiq:start ExecStop=/usr/bin/bundle exec rake sidekiq:stop diff --git a/init/systemd/gitlab-unicorn.service b/init/systemd/gitlab-unicorn.service index 3b895bd..3e1ccc0 100644 --- a/init/systemd/gitlab-unicorn.service +++ b/init/systemd/gitlab-unicorn.service @@ -1,10 +1,10 @@ -########################################################################################### +##################################################### # # GitLab version : 5.x - 6.x # Contributors : davispuh, mtorromeo, axilleas -# Downloaded from : https://github.com/gitlabhq/gitlab-recipes/tree/master/init/systemd +# Downloaded from : https://github.com/gitlabhq/gitlab-recipes/tree/master/init/systemd # -########################################################################################### +#################################################### [Unit] Description=GitLab Unicorn Server @@ -16,7 +16,7 @@ User=git WorkingDirectory=/home/git/gitlab Environment=RAILS_ENV=production SyslogIdentifier=gitlab-unicorn -PidFile=/home/git/gitlab/tmp/pids/unicorn.pid +PIDFile=/home/git/gitlab/tmp/pids/unicorn.pid ExecStart=/usr/bin/bundle exec "unicorn_rails -c /home/git/gitlab/config/unicorn.rb -E production"