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