diff options
| author | Andre Borie <hi@rjevski.io> | 2020-11-28 20:50:27 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-28 21:50:27 +0100 |
| commit | b9544d9534cdc61d6b2cb1c88dfa57da440c8122 (patch) | |
| tree | 6af5ab974fb0363e04fa8edc2201bd0f740f8948 /README.md | |
| parent | 99ba9874b11bb0a5b67854d338ce968e83c69c41 (diff) | |
| download | invidious-b9544d9534cdc61d6b2cb1c88dfa57da440c8122.tar.gz invidious-b9544d9534cdc61d6b2cb1c88dfa57da440c8122.tar.bz2 invidious-b9544d9534cdc61d6b2cb1c88dfa57da440c8122.zip | |
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.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ``` |
