#!/bin/bash

exit_code="$1" # The exit code from prepost
signal="$2"    # The signal which caused prepost to exit (or 0)

echo "`date -uIns` - prepost/finish $@"
echo "`date -uIns` - Exit code $exit_code is not normal. Killing image."

killall -SIGHUP runsvdir
