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