From 1760c30ada37f23e638a5a97cae0266002c2d1e4 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 31 Jan 2016 21:06:38 +0000 Subject: [PATCH] Add systemctl-restart --- systemctl-restart | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 systemctl-restart diff --git a/systemctl-restart b/systemctl-restart new file mode 100755 index 0000000..88d11a7 --- /dev/null +++ b/systemctl-restart @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +echo Restarting $1... +systemctl restart $1 +echo Sleep... +sleep 1 +systemctl status $1 -l