Sha256: 55b6f90a642d2b0b5da0e7782ecd7770ff913b763f86f7997e0d2bd115c10dd2

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 Bytes

Contents

[Unit]
StopWhenUnneeded=true
PartOf=<%= "#{app}-#{name}.target" %>

[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

Version data entries

1 entries across 1 versions & 1 rubygems

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