Sha256: f92c84a2698583489377a6cebafeb8c0dbff34b82328ed9a786772826e3fb238

Contents?: true

Size: 519 Bytes

Versions: 4

Compression:

Stored size: 519 Bytes

Contents

[Unit]
Description=Puma HTTP Server for <%= "#{fetch(:application)} (#{fetch(:stage)})" %>
After=network.target

[Service]
Type=simple
User=<%= puma_user(@role) %>
WorkingDirectory=<%= current_path %>
ExecStart=<%= SSHKit.config.command_map[:bundle] %> exec puma -C <%= fetch(:puma_conf) %>
ExecReload=/bin/kill -TSTP $MAINPID
ExecStop=/bin/kill -TERM $MAINPID
StandardOutput=append:<%= fetch(:puma_access_log) %>
StandardError=append:<%= fetch(:puma_error_log) %>

Restart=always

[Install]
WantedBy=multi-user.target

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capistrano3-puma-5.0.2 lib/capistrano/templates/puma.service.erb
capistrano3-puma-5.0.1 lib/capistrano/templates/puma.service.erb
capistrano3-puma-5.0.0 lib/capistrano/templates/puma.service.erb
capistrano3-puma-5.0.0.beta1 lib/capistrano/templates/puma.service.erb