#!/bin/sh -e if [ "$1" = "-v" -o "$1" = "--verbose" ]; then VERBOSE='--verbose' CONFIG='/srv/envs/${envname}/app/rattail.conf' else VERBOSE= CONFIG='/srv/envs/${envname}/app/silent.conf' fi cd /srv/envs/${envname} bin/rattail -c $CONFIG $VERBOSE backup $*