Ajouter 'server'

Mylloon 2023-08-12 11:36:32 +02:00
parent 38323f8ab9
commit cad41b0a87
Signed by: Forgejo
GPG key ID: E72245C752A07631

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>`