[Unit] Description=GitLab Puma Server # Only start service when config/puma.rb exist ConditionFileNotEmpty=@GITLAB_CONFIG@/puma.rb Requires=redis.service After=redis.service postgresql-12.service PartOf=gitlab.target [Service] User=git WorkingDirectory=@GITLAB@ Environment=RAILS_ENV=production Environment="RUBYOPT=--disable-did_you_mean" SyslogIdentifier=gitlab-puma PIDFile=@TMP_DIR@/pids/puma.pid ExecStart=@GITLAB@/bin/bundle exec "puma -C @GITLAB_CONFIG@/puma.rb -e ${RAILS_ENV}"