From 46b2626ae5814aa83708d6ceae2ced61c299367c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 8 Apr 2016 16:50:33 +0100 Subject: [PATCH] ttrss single process daemon --- src/freedombone | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/freedombone b/src/freedombone index a3364213..957d23d7 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8368,14 +8368,16 @@ function install_rss_reader { 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 'After=tor.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 "ExecStart=/usr/bin/php $RSS_READER_PATH/update.php --daemon" >> /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 daemon-reload systemctl start ttrss # some post-install instructions for the user