#! /bin/sh set -e cd $(dirname $0) while read service; do echo "=== $service" touch ./$service/upgrade sv -w 30 restart ./$service/ done <