Restart every hour

After consideration this is better
This commit is contained in:
Minecon724 2025-04-10 18:29:33 +02:00
commit 39a6e5cd91

View file

@ -20,11 +20,11 @@
6. cd back and `./reset.sh`
7. [Issue a certificate, steps here](/Minecon724/dream-setup/src/branch/master/CERTIFICATE.md)
8. **Schedule `reset.sh`**. This rotates your IP, updates containers, and it's generally a good practice to auto restart. \
If you have multiple companions, you should make them restart at different minutes. Like if you have `0` here you should have `30` elsewhere. \
This restarts every 3 hours (`*/3`). If you have a dirtier IP, it'll probably too infrequently for you.
This restarts every hour:00. You can change it, if you want to. /
If you have multiple companions, you should make them restart at different times.
```
@reboot sleep 30s && cd /opt/invidious-companion && ./reset.sh
0 */3 * * * cd /opt/invidious-companion && ./reset.sh
0 * * * * cd /opt/invidious-companion && ./reset.sh
```
**TODOs**: