mirror of
https://github.com/sbrl/bin.git
synced 2018-01-10 21:33:46 +00:00
Add systemctl-restart
This commit is contained in:
parent
e5fd4bd672
commit
1760c30ada
1 changed files with 6 additions and 0 deletions
6
systemctl-restart
Executable file
6
systemctl-restart
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
echo Restarting $1...
|
||||||
|
systemctl restart $1
|
||||||
|
echo Sleep...
|
||||||
|
sleep 1
|
||||||
|
systemctl status $1 -l
|
Loading…
Reference in a new issue