1
0
Fork 0
bin/systemctl-restart

7 lines
108 B
Bash
Executable File

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