summaryrefslogtreecommitdiff
path: root/UpdatingFeeds.md
diff options
context:
space:
mode:
Diffstat (limited to 'UpdatingFeeds.md')
-rw-r--r--UpdatingFeeds.md22
1 files changed, 12 insertions, 10 deletions
diff --git a/UpdatingFeeds.md b/UpdatingFeeds.md
index 0470f67..0c7c08a 100644
--- a/UpdatingFeeds.md
+++ b/UpdatingFeeds.md
@@ -30,16 +30,18 @@ The script doesn’t daemonize (e.g. detach from the terminal).
You can setup the daemon as a simple systemd service like this:
- [Unit]
- Description=ttrss_backend
- After=network.target mysql.service postgresql.service
-
- [Service]
- User=www-data
- ExecStart=/path/to/tt-rss/update_daemon2.php
-
- [Install]
- WantedBy=multi-user.target
+```ini
+[Unit]
+Description=ttrss_backend
+After=network.target mysql.service postgresql.service
+
+[Service]
+User=www-data
+ExecStart=/path/to/tt-rss/update_daemon2.php
+
+[Install]
+WantedBy=multi-user.target
+```
Use <code>journalctl -u ttrss_backend</code> to look through daemon console
output.