summaryrefslogtreecommitdiff
path: root/UpdatingFeeds.md
diff options
context:
space:
mode:
authorfox <[email protected]>2021-05-24 21:56:49 +0300
committerfox <[email protected]>2021-05-24 21:56:49 +0300
commit80a0519935f82c6753617090bf66b98f78ddfcd0 (patch)
treee3f1552c6112df21e6b07a882dfdc2cb81cdaf22 /UpdatingFeeds.md
parent0930028736d88f9ef17331978f400c3219786c07 (diff)
Update 'UpdatingFeeds'
Diffstat (limited to 'UpdatingFeeds.md')
-rw-r--r--UpdatingFeeds.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/UpdatingFeeds.md b/UpdatingFeeds.md
index 31d7853..2bdd311 100644
--- a/UpdatingFeeds.md
+++ b/UpdatingFeeds.md
@@ -33,7 +33,7 @@ Script doesn’t daemonize (e.g. detach from the terminal).
### Running under systemd
-You can setup the daemon as a simple systemd service like this:
+You can setup the daemon as a simple systemd service like this (`/etc/systemd/system/ttrss_backend.service`):
```ini
[Unit]
@@ -42,12 +42,17 @@ After=network.target mysql.service postgresql.service
[Service]
User=www-data
-ExecStart=/path/to/tt-rss/update_daemon2.php
+ExecStart=/var/www/html/tt-rss/update_daemon2.php
[Install]
WantedBy=multi-user.target
```
+```sh
+systemctl enable ttrss_backend
+systemctl start ttrss_backend
+```
+
Use <code>journalctl -u ttrss_backend</code> to look through daemon console output.
## Periodical updating from crontab, using update script (update.php --feeds)