17a7bccde7
This allows to disable local Redis in favour of external instance. Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
22 lines
577 B
Desktop File
22 lines
577 B
Desktop File
[Unit]
|
|
Description=GitLab Puma Server
|
|
PartOf=gitlab.target
|
|
Wants=redis-server.service
|
|
Wants=postgresql.service
|
|
After=redis-server.service postgresql.service
|
|
PartOf=gitlab.service
|
|
ReloadPropagatedFrom=gitlab.service
|
|
Conflicts=gitlab-unicorn.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/usr/share/gitlab
|
|
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
|
|
EnvironmentFile=-/etc/default/gitlab
|
|
SyslogIdentifier=gitlab-puma
|
|
ExecStart=/usr/bin/bundle exec puma -C config/puma.rb -e $RAILS_ENV
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
|
Restart=on-abnormal
|
|
|
|
[Install]
|
|
WantedBy=gitlab.target
|