Ajouter 'server'
parent
38323f8ab9
commit
cad41b0a87
1 changed files with 5 additions and 0 deletions
5
server.md
Normal file
5
server.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
only reboot if rsync isnt working
|
||||||
|
```bash
|
||||||
|
if [[ $(ps ax | grep rsync | grep <ip local server> | wc -l) -lt 2 ]]; then shutdown --reboot now; fi
|
||||||
|
```
|
||||||
|
* penser à remplacer `<ip local server>`
|
Loading…
Reference in a new issue