Update logrotate configuration command (#1500)

Using sudo with `echo ... | tee /path/to/file` doesn't make sense, as the command requiring the superuser privileges is the `tee` command and not the echo.
このコミットが含まれているのは:
Andre Borie 2020-11-28 20:50:27 +00:00 committed by GitHub
コミット b9544d9534
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -143,14 +143,14 @@ $ sudo systemctl enable --now invidious.service
#### Logrotate:
```bash
$ sudo echo "/home/invidious/invidious/invidious.log {
$ echo "/home/invidious/invidious/invidious.log {
rotate 4
weekly
notifempty
missingok
compress
minsize 1048576
}" | tee /etc/logrotate.d/invidious.logrotate
}" | sudo tee /etc/logrotate.d/invidious.logrotate
$ sudo chmod 0644 /etc/logrotate.d/invidious.logrotate
```