Skip to content

Instantly share code, notes, and snippets.

Created December 9, 2013 17:42
Show Gist options
  • Save anonymous/7876582 to your computer and use it in GitHub Desktop.
Save anonymous/7876582 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd <%= @options[:app_dir] %>
exec 2>&1
exec <%= node[:runit][:chpst_bin] %> -e /etc/sv/<%= @options[:service_name] %>/env -u <%= @options[:app_user]%>:unicorn <%= @options[:bundler_binary] %> exec unicorn -E <%= @options[:environment] %> -c <%= @options[:config] %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment