Skip to content
Snippets Groups Projects
Commit 68b2dd3d authored by Praveen Arimbrathodiyil's avatar Praveen Arimbrathodiyil
Browse files

Remove gitlab-unicorn.service and install gitlab-puma.service

parent 956a715c
No related branches found
No related tags found
No related merge requests found
[Unit]
Description=GitLab Unicorn Server
PartOf=gitlab.target
Requires=redis-server.service
Wants=postgresql.service
After=redis-server.service postgresql.service
PartOf=gitlab.service
ReloadPropagatedFrom=gitlab.service
[Service]
Type=simple
WorkingDirectory=/usr/share/gitlab
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
EnvironmentFile=-/etc/default/gitlab
SyslogIdentifier=gitlab-unicorn
ExecStart=/usr/bin/bundle exec unicorn_rails -c config/unicorn.rb -E $RAILS_ENV
ExecReload=/bin/kill -USR2 $MAINPID
Restart=on-abnormal
[Install]
WantedBy=gitlab.target
......@@ -260,7 +260,7 @@ case "$1" in
fi
# Override User for systemd services
for service in mailroom unicorn sidekiq workhorse; do
for service in mailroom puma sidekiq workhorse; do
path=/etc/systemd/system/gitlab-${service}.service.d
mkdir -p $path
if [ -e $path/override.conf ]; then
......
......@@ -18,7 +18,7 @@ override_dh_install:
override_dh_installinit:
dh_installinit --no-start -p gitlab --name=gitlab-sidekiq
dh_installinit --no-start -p gitlab --name=gitlab-unicorn
dh_installinit --no-start -p gitlab --name=gitlab-puma
dh_installinit --no-start -p gitlab --name=gitlab-mailroom
dh_installinit --no-start -p gitlab --name=gitlab-workhorse
dh_installinit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment