Sha256: 388742d2597d3374cfa4df9fd58c5eb16a57831bb6257a0161376c18b621af73

Contents?: true

Size: 386 Bytes

Versions: 34

Compression:

Stored size: 386 Bytes

Contents

description "Ruby example upstart conf"

setuid <%= @username %>
setgid <%= @username %>

<%#start on runlevel [2345]%>
<%#stop on runlevel [06]%>

respawn
respawn limit 3 30

# env RAILS_ENV=production

# pre-start script
  # use this for any pre-start stuff
# end script

script
  exec /bin/bash <<EOS
    export HOME=<%= @home %>
    exec <%= @adminix_bin %> watch 
  EOS
end script

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
adminix-0.1.49 views/daemon_scripts/upstart.conf.erb
adminix-0.1.48 views/daemon_scripts/upstart.conf.erb
adminix-0.1.47 views/daemon_scripts/upstart.conf.erb
adminix-0.1.46 views/daemon_scripts/upstart.conf.erb
adminix-0.1.45 views/daemon_scripts/upstart.conf.erb
adminix-0.1.44 views/daemon_scripts/upstart.conf.erb
adminix-0.1.43 views/daemon_scripts/upstart.conf.erb
adminix-0.1.41 views/daemon_scripts/upstart.conf.erb
adminix-0.1.40 views/daemon_scripts/upstart.conf.erb
adminix-0.1.39 views/daemon_scripts/upstart.conf.erb
adminix-0.1.38 views/daemon_scripts/upstart.conf.erb
adminix-0.1.37 views/daemon_scripts/upstart.conf.erb
adminix-0.1.36 views/daemon_scripts/upstart.conf.erb
adminix-0.1.35 views/daemon_scripts/upstart.conf.erb
adminix-0.1.31 views/daemon_scripts/upstart.conf.erb
adminix-0.1.29 views/daemon_scripts/upstart.conf.erb
adminix-0.1.27 views/daemon_scripts/upstart.conf.erb
adminix-0.1.26 views/daemon_scripts/upstart.conf.erb
adminix-0.1.25 views/daemon_scripts/upstart.conf.erb
adminix-0.1.24 views/daemon_scripts/upstart.conf.erb