This commit copies the default puma.service.erb template from the capistrano3-puma gem into lib/capistrano/templates. This allows us to customize the generated systemd unit file during deploy. Note that we are also removing the `:puma_conf` variable from `config/deploy.rb`, as the new ExecStart line in the systemd template (based on capistrano3-puma 6.0.0) does not rely on a separate Puma config file. The command now directly invokes: ExecStart=<%= expanded_bundle_command %> exec puma -e <%= fetch(:puma_env) %> This replaces the older format used in 5.2.0: ExecStart=<%= expanded_bundle_command %> exec --keep-file-descriptors puma -C <%= fetch(:puma_conf) %> which required explicitly setting the Puma config path.
61 lines
1.5 KiB
YAML
61 lines
1.5 KiB
YAML
---
|
|
EnableDefaultLinters: false
|
|
exclude:
|
|
- '**/vendor/**/*'
|
|
- 'lib/capistrano/templates/*'
|
|
linters:
|
|
AllowedScriptType:
|
|
enabled: true
|
|
ClosingErbTagIndent:
|
|
enabled: true
|
|
CommentSyntax:
|
|
enabled: true
|
|
ErbSafety:
|
|
enabled: true
|
|
exclude:
|
|
- app/components/budgets/investments/content_blocks_component.html.erb
|
|
- app/components/layout/cookies_consent/vendors/scripts_component.html.erb
|
|
- app/components/layout/footer_component.html.erb
|
|
- app/components/layout/social_component.html.erb
|
|
- app/components/layout/subnavigation_component.html.erb
|
|
- app/components/layout/top_links_component.html.erb
|
|
- app/views/admin/site_customization/content_blocks/index.html.erb
|
|
- app/views/layouts/application.html.erb
|
|
- app/views/layouts/dashboard.html.erb
|
|
- app/views/layouts/devise.html.erb
|
|
ExtraNewline:
|
|
enabled: true
|
|
FinalNewline:
|
|
enabled: true
|
|
NoJavascriptTagHelper:
|
|
enabled: true
|
|
ParserErrors:
|
|
enabled: true
|
|
RightTrim:
|
|
enabled: true
|
|
SpaceAroundErbTag:
|
|
enabled: true
|
|
SpaceIndentation:
|
|
enabled: true
|
|
SpaceInHtmlTag:
|
|
enabled: true
|
|
TrailingWhitespace:
|
|
enabled: true
|
|
Rubocop:
|
|
enabled: true
|
|
rubocop_config:
|
|
inherit_from:
|
|
- .rubocop.yml
|
|
Layout/LineLength:
|
|
Enabled: false
|
|
Layout/TrailingEmptyLines:
|
|
Enabled: false
|
|
Lint/UselessAssignment:
|
|
Enabled: false
|
|
Rails/HttpStatus:
|
|
Enabled: true
|
|
Exclude:
|
|
- app/views/dashboard/*
|
|
Rails/OutputSafety:
|
|
Enabled: false
|