[DRE-commits] [gitlab] 05/17: use bin/* for start and stop

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Feb 13 16:42:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository gitlab.

commit e81778ff8092aaf718ffa1d976277336aa91a50e
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Feb 13 18:00:18 2016 +0530

    use bin/* for start and stop
---
 debian/conf/gitlab-sidekiq.service | 5 ++---
 debian/conf/gitlab-unicorn.service | 4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/debian/conf/gitlab-sidekiq.service b/debian/conf/gitlab-sidekiq.service
index 203fc27..132ceb5 100644
--- a/debian/conf/gitlab-sidekiq.service
+++ b/debian/conf/gitlab-sidekiq.service
@@ -19,10 +19,9 @@ User=gitlab
 WorkingDirectory=/usr/share/gitlab
 EnvironmentFile=/etc/gitlab/gitlab-debian.conf
 SyslogIdentifier=gitlab-sidekiq
-PIDFile=/usr/share/gitlab/tmp/pids/sidekiq.pid
 
-ExecStart=/usr/bin/bundle exec "sidekiq -d -q archive_repo -q post_receive -q mailers -q system_hook -q incoming_email -q project_web_hook -q gitlab_shell -q common -q default -e production -P tmp/pids/sidekiq.pid -d -L log/sidekiq.log >> log/sidekiq.log 2>&1"
-ExecStop=/usr/bin/bundle exec "sidekiqctl stop /home/git/gitlab/tmp/pids/sidekiq.pid >> /home/git/gitlab/log/sidekiq.log 2>&1"
+ExecStart=/bin/sh bin/background_jobs start
+ExecStop=/bin/sh bin/background_jobs stop
 
 [Install]
 WantedBy=multi-user.target
diff --git a/debian/conf/gitlab-unicorn.service b/debian/conf/gitlab-unicorn.service
index 107b8da..45e785a 100644
--- a/debian/conf/gitlab-unicorn.service
+++ b/debian/conf/gitlab-unicorn.service
@@ -18,9 +18,9 @@ User=gitlab
 WorkingDirectory=/usr/share/gitlab
 EnvironmentFile=/etc/gitlab/gitlab-debian.conf
 SyslogIdentifier=gitlab-unicorn
-PIDFile=/usr/share/gitlab/tmp/pids/unicorn.pid
 
-ExecStart=/usr/bin/bundle exec "unicorn_rails -D -c /usr/share/gitlab/config/unicorn.rb -E production"
+ExecStart=/bin/sh bin/web start
+ExecStop=/bin/sh bin/web stop
 
 [Install]
 WantedBy=multi-user.target

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list