Просмотр исходного кода

Start the feed refresh timer during setup (#9663)

The systemd setup currently enables the feed refresh timer for future boots but leaves it stopped during initial setup. Use `enable --now` so the timer starts as part of setup, and show how to check when it will next run.

Checked the commands against the systemctl manual. Markdownlint passed for all 114 documentation files. OpenAI Codex assisted with the edit and verification.
Jeferson Araujo 15 часов назад
Родитель
Сommit
001301b142
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      docs/en/admins/08_FeedUpdates.md

+ 7 - 1
docs/en/admins/08_FeedUpdates.md

@@ -76,4 +76,10 @@ Type=simple
 ExecStart=/usr/bin/php /usr/share/FreshRSS/app/actualize_script.php
 ```
 
-Finally, you need to enable the timer with `systemctl enable freshrss.timer` and reload the systemd configuration with `systemctl daemon-reload`.
+This command starts the timer immediately and enables it at boot.
+
+```sh
+sudo systemctl enable --now freshrss.timer
+```
+
+To see when the timer will next run, use `systemctl list-timers freshrss.timer`.