Sha256: b887fda8698d8846443af5d69c1c67a040f13ae88f667fea94a321c9bf5795bd

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

[Unit]
StopWhenUnneeded=true

[Service]
User=<%= user %>
WorkingDirectory=<%= engine.root %>
Environment=PORT=<%= port %><% engine.env.each_pair do |var,env| %>
Environment=<%= var.upcase %>=<%= env %><% end %>
ExecStart=/bin/bash -lc '<%= process.command %>'
Restart=always
StandardInput=null
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=%n
KillMode=process

[Install]
WantedBy=<%= app %>-<%= name %>.target

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foreman-0.64.0 data/export/systemd/process.service.erb