anchor.diff:  # respawn as bash so we can source in rbenv
   exec /bin/bash <<EOT
     # uncomment to use syslog for logging
  -  # exec &> /dev/kmsg
  -
  -  export HOME=/home/apps
  +  exec &> /dev/kmsg
   
     # Pick your poison :) Or none if you're using a system wide installed Ruby.
     # rbenv
  
positive.code: # respawn as bash so we can source in rbenv
  exec /bin/bash <<EOT
    # uncomment to use syslog for logging
    # exec &> /dev/kmsg
  
    export HOME=/home/apps
  
    # Pick your poison :) Or none if you're using a system wide installed Ruby.
    # rbenv
  
negative.code: # change apps to match your deployment user if you want to use this as a less privileged user (recommended!)
  <% if @user %>
  setuid <%= @user %>
  <% end %>
  <% if @group %>
  setgid <%= @group %>
  <% end %>
  
  respawn
  