mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-24 00:50:51 +00:00
7 lines
140 B
Bash
7 lines
140 B
Bash
|
#!/bin/bash
|
||
|
/bin/systemctl status --full "$1" >> /home/bruno/.log_error
|
||
|
sleep 20
|
||
|
/bin/systemctl stop "$1"
|
||
|
sleep 3
|
||
|
/bin/systemctl start "$1"
|