#!/bin/sh -e # <% c = Capistrano::BaseHelper::get_capistrano_instance %> # Run services for <%= c.fetch(:application) %> as <%= c.fetch(:user) %> in env <%= Capistrano::BaseHelper.environment %> # exec 2>&1 exec chpst -u <%= c.fetch(:user) %> runsvdir "<%= c.fetch(:runit_dir) %>"