From aeed7deb2d631b81062806d1a5453bbdc994c5ec Mon Sep 17 00:00:00 2001 From: Stefan Haan Date: Sun, 8 Nov 2020 14:05:11 +0100 Subject: [PATCH] Update README.md (#1461) Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 80b57f7b..35818536 100644 --- a/README.md +++ b/README.md @@ -105,8 +105,7 @@ $ exit #### Set up PostgresSQL ```bash -$ sudo systemctl enable postgresql -$ sudo systemctl start postgresql +$ sudo systemctl enable --now postgresql $ sudo -i -u postgres $ psql -c "CREATE USER kemal WITH PASSWORD 'kemal';" # Change 'kemal' here to a stronger password, and update `password` in config/config.yml $ createdb -O kemal invidious @@ -138,8 +137,7 @@ $ exit ```bash $ sudo cp /home/invidious/invidious/invidious.service /etc/systemd/system/invidious.service -$ sudo systemctl enable invidious.service -$ sudo systemctl start invidious.service +$ sudo systemctl enable --now invidious.service ``` #### Logrotate: