sv-unicorn-run.erb 242 B

1234567
  1. #!/bin/bash
  2. cd <%= @options[:app]['deploy_to'] %>/current
  3. exec 2>&1
  4. exec chpst -u <%= @options[:app]["owner"] %>:<%= @options[:app]["group"] %> unicorn_rails -E <%= @node[:app_environment] %> -c /etc/unicorn/<%= @options[:app]['id'] %>.rb