#!/bin/sh set -e EVENT_NAME="$1" [ "$EVENT_NAME" = "live-updated" ] || exit 42 systemctl restart nginx.service