Restart every hour
After consideration this is better
This commit is contained in:
parent
b9c48fb46d
commit
39a6e5cd91
1 changed files with 3 additions and 3 deletions
|
|
@ -20,11 +20,11 @@
|
||||||
6. cd back and `./reset.sh`
|
6. cd back and `./reset.sh`
|
||||||
7. [Issue a certificate, steps here](/Minecon724/dream-setup/src/branch/master/CERTIFICATE.md)
|
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. \
|
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 hour:00. You can change it, if you want to. /
|
||||||
This restarts every 3 hours (`*/3`). If you have a dirtier IP, it'll probably too infrequently for you.
|
If you have multiple companions, you should make them restart at different times.
|
||||||
```
|
```
|
||||||
@reboot sleep 30s && cd /opt/invidious-companion && ./reset.sh
|
@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**:
|
**TODOs**:
|
||||||
|
|
|
||||||
Reference in a new issue