Sha256: 018c13908e5ce4c9b0f33d3af9f0d47c162ba36c40b5d845c7fc38298f75a852

Contents?: true

Size: 496 Bytes

Versions: 13

Compression:

Stored size: 496 Bytes

Contents

start on starting <%= app %>-<%= name %>
stop on stopping <%= app %>-<%= name %>
respawn

exec su - <%= user %> --shell=/bin/bash -c 'cd <%= engine.root %>; trap '\''jobs_count=$(jobs -p | wc -l); while [ $jobs_count -gt 0 ]; do kill -9 $(jobs -p); sleep 1; jobs_count=$(jobs -p | wc -l); done'\'' EXIT; export PORT=<%= port %>;<% engine.env.each_pair do |var,env| %> export <%= var.upcase %>=<%= shell_quote(env) %>; <% end %> <%= process.command %> >> <%= log %>/<%=name%>-<%=num%>.log 2>&1'


Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
foreman-capistrano-0.53.4 data/export/upstart/process.conf.erb
foreman-capistrano-0.53.3 data/export/upstart/process.conf.erb
foreman-capistrano-0.53.2 data/export/upstart/process.conf.erb
foreman-capistrano-0.53.1 data/export/upstart/process.conf.erb
foreman-capistrano-0.53.0 data/export/upstart/process.conf.erb
foreman-capistrano-0.52.6 data/export/upstart/process.conf.erb
foreman-capistrano-0.52.5 data/export/upstart/process.conf.erb
foreman-capistrano-0.52.4 data/export/upstart/process.conf.erb
foreman-capistrano-0.52.3 data/export/upstart/process.conf.erb
foreman-capistrano-0.52.2 data/export/upstart/process.conf.erb
foreman-capistrano-0.52.1 data/export/upstart/process.conf.erb
foreman-capistrano-0.52.0 data/export/upstart/process.conf.erb
foreman-capistrano-0.51.5 data/export/upstart/process.conf.erb