Sha256: bcdbd1c62ceb67f87eee50d9ebfd26e829a6c1613122c0788f74d9b9f771a864

Contents?: true

Size: 850 Bytes

Versions: 30

Compression:

Stored size: 850 Bytes

Contents

start on <%= app_name %>-hotrestart
task

# Set process owner
setuid app-deployer
setgid app-deployer

# Load App environment 
env RAILS_ENV=<%= environment %>
env APP_HOME=/apps/<%= app_name %>/current
env USER=app-deployer
env HOME=/home/app-deployer

# Load ruby environment
env GEM_HOME=/usr/local/rvm/gems/ruby-2.1.2
env IRBRC=/usr/local/rvm/rubies/ruby-2.1.2/.irbrc
env MY_RUBY_HOME=/usr/local/rvm/rubies/ruby-2.1.2
env PATH=/usr/local/rvm/gems/ruby-2.1.2/bin:/usr/local/rvm/gems/ruby-2.1.2@global/bin:/usr/local/rvm/rubies/ruby-2.1.2/bin:/usr/local/rvm/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin
env GEM_PATH=/usr/local/rvm/gems/ruby-2.1.2:/usr/local/rvm/gems/ruby-2.1.2@global
env RUBY_VERSION=ruby-2.1.2

script  
  # Reload server
  cd $APP_HOME
  exec bundle exec pumactl -F scripts/<%= environment %>/puma.rb phased-restart
end script

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
mno-enterprise-core-3.4.0 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-3.3.3 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-3.3.2 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-3.2.1 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-3.3.1 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-3.3.0 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-3.2.0 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-3.1.4 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-3.0.7 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-2.0.9 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-3.1.3 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-3.0.6 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-2.0.8 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-3.1.2 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-3.0.5 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-2.0.7 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-2.0.6 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-2.0.5 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-3.1.1 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf
mno-enterprise-core-3.0.4 lib/generators/mno_enterprise/templates/scripts/upstart/app-web-hotrestart.conf