Sha256: 56fe3661880f8ca358bda7c8edc410cda99e1755e9de44216e794dfd948a3f52
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
## start on <% upstart_start_on.each do |key, val| %> start on <%= key %> <%= val %> <% end %> ## stop on <% upstart_stop_on.each do |key, val| %> stop on <%= key %> <%= val %> <% end %> ## env <% upstart_env.each do |key, val| %> env <%= "#{key}=#{val.to_s.dump}" %> <% end %> ## export <% upstart_export.each do |key| %> export <%= key %> <% end %> ## misc options <% upstart_options.each do |key, val| %> <%= val == true ? key : "#{key} #{val}" %> <% end %> ## pre-start <% if fetch(:upstart_pre_start_script, nil) %> pre-start script <%= upstart_pre_start_script %> end script <% end %> ## script <% if fetch(:upstart_exec, nil) %> exec <%= upstart_exec %> <% else %> script <%= upstart_script %> end script <% end %> ## post-start <% if fetch(:upstart_post_start_script, nil) %> post-start script <%= upstart_post_start_script %> end script <% end %> ## pre-stop <% if fetch(:upstart_pre_stop_script, nil) %> pre-stop script <%= upstart_pre_stop_script %> end script <% end %> ## post-stop <% if fetch(:upstart_post_stop_script, nil) %> post-stop script <%= upstart_post_stop_script %> end script <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capistrano-upstart-0.0.1 | lib/templates/upstart.conf.erb |