#!/usr/bin/env bash echo Restarting $1... systemctl restart $1 echo Sleep... sleep 1 systemctl status $1 -l