diff --git a/src/freedombone b/src/freedombone index c0e60921..6eb067de 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8400,6 +8400,20 @@ function install_rss_reader { echo "RSS reader domain:${RSS_READER_DOMAIN_NAME}" >> $COMPLETION_FILE fi + # daemon to update feeds + echo '[Unit]' > /etc/systemd/system/ttrss.service + echo 'Description=ttrss_backend' >> /etc/systemd/system/ttrss.service + echo 'After=network.target mysql.service' >> /etc/systemd/system/ttrss.service + echo '' >> /etc/systemd/system/ttrss.service + echo '[Service]' >> /etc/systemd/system/ttrss.service + echo 'User=www-data' >> /etc/systemd/system/ttrss.service + echo "ExecStart=$RSS_READER_PATH/update_daemon2.php" >> /etc/systemd/system/ttrss.service + echo '' >> /etc/systemd/system/ttrss.service + echo '[Install]' >> /etc/systemd/system/ttrss.service + echo 'WantedBy=multi-user.target' >> /etc/systemd/system/ttrss.service + systemctl enable ttrss + systemctl start ttrss + # some post-install instructions for the user if ! grep -q $"RSS Reader" /home/$MY_USERNAME/README; then echo '' >> /home/$MY_USERNAME/README