|
@@ -8368,14 +8368,16 @@ function install_rss_reader {
|
8368
|
8368
|
echo '[Unit]' > /etc/systemd/system/ttrss.service
|
8369
|
8369
|
echo 'Description=ttrss_backend' >> /etc/systemd/system/ttrss.service
|
8370
|
8370
|
echo 'After=network.target mysql.service' >> /etc/systemd/system/ttrss.service
|
|
8371
|
+ echo 'After=tor.service' >> /etc/systemd/system/ttrss.service
|
8371
|
8372
|
echo '' >> /etc/systemd/system/ttrss.service
|
8372
|
8373
|
echo '[Service]' >> /etc/systemd/system/ttrss.service
|
8373
|
8374
|
echo 'User=www-data' >> /etc/systemd/system/ttrss.service
|
8374
|
|
- echo "ExecStart=$RSS_READER_PATH/update_daemon2.php" >> /etc/systemd/system/ttrss.service
|
|
8375
|
+ echo "ExecStart=/usr/bin/php $RSS_READER_PATH/update.php --daemon" >> /etc/systemd/system/ttrss.service
|
8375
|
8376
|
echo '' >> /etc/systemd/system/ttrss.service
|
8376
|
8377
|
echo '[Install]' >> /etc/systemd/system/ttrss.service
|
8377
|
8378
|
echo 'WantedBy=multi-user.target' >> /etc/systemd/system/ttrss.service
|
8378
|
8379
|
systemctl enable ttrss
|
|
8380
|
+ systemctl daemon-reload
|
8379
|
8381
|
systemctl start ttrss
|
8380
|
8382
|
|
8381
|
8383
|
# some post-install instructions for the user
|