Sha256: 5e8a15643f7c1c72322931ce6d3eb464ba43498494757412f81b235d6ba1a313
Contents?: true
Size: 867 Bytes
Versions: 2
Compression:
Stored size: 867 Bytes
Contents
[Unit] Description=Puma HTTP Server for <%= "#{fetch(:application)} (#{fetch(:stage)})" %> After=network.target [Service] Type=simple <%="User=#{puma_user(@role)}" if fetch(:puma_systemctl_user) == :system %> WorkingDirectory=<%= current_path %> ExecStart=<%= SSHKit.config.command_map[:bundle] %> exec puma -C <%= fetch(:puma_conf) %> ExecReload=/bin/kill -TSTP $MAINPID StandardOutput=append:<%= fetch(:puma_access_log) %> StandardError=append:<%= fetch(:puma_error_log) %> <%="EnvironmentFile=#{fetch(:puma_service_unit_env_file)}" if fetch(:puma_service_unit_env_file) %> <% fetch(:puma_service_unit_env_vars, []).each do |environment_variable| %> <%="Environment=#{environment_variable}" %> <% end %> Restart=always RestartSec=1 SyslogIdentifier=puma [Install] WantedBy=<%=(fetch(:puma_systemctl_user) == :system) ? "multi-user.target" : "default.target"%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capistrano3-puma-5.0.4 | lib/capistrano/templates/puma.service.erb |
capistrano3-puma-5.0.3 | lib/capistrano/templates/puma.service.erb |