2020-06-02 16:58:55 +05:30
|
|
|
[Unit]
|
|
|
|
Description=GitLab Puma Server
|
|
|
|
PartOf=gitlab.target
|
|
|
|
Requires=redis-server.service
|
|
|
|
Wants=postgresql.service
|
|
|
|
After=redis-server.service postgresql.service
|
|
|
|
PartOf=gitlab.service
|
|
|
|
ReloadPropagatedFrom=gitlab.service
|
2020-08-20 19:51:56 +05:30
|
|
|
Conflicts=gitlab-unicorn.service
|
2020-06-02 16:58:55 +05:30
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
WorkingDirectory=/usr/share/gitlab
|
|
|
|
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
|
|
|
|
EnvironmentFile=-/etc/default/gitlab
|
2020-08-20 23:05:57 +05:30
|
|
|
SyslogIdentifier=gitlab-puma
|
|
|
|
ExecStart=/usr/bin/bundle exec puma -C config/puma.rb -e $RAILS_ENV
|
2020-06-02 16:58:55 +05:30
|
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
|
|
|
Restart=on-abnormal
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=gitlab.target
|