1
0
mirror of https://git.cloudron.io/cloudron/freshrss-app synced 2025-09-25 06:17:35 +00:00

Use scheduler addon to update feeds

Fixes #6
This commit is contained in:
Girish Ramakrishnan
2017-02-22 15:24:06 -08:00
parent 7ea8743446
commit 2750b4944d
2 changed files with 7 additions and 7 deletions

View File

@@ -60,12 +60,6 @@ EOF
chown -R www-data.www-data /run/php /app/data
echo "Trying to update feeds every 60 secs"
while true; do
sleep 60
sudo -u www-data php /app/code/app/actualize_script.php >/dev/stdout 2>/dev/stderr
done &
echo "Starting apache"
APACHE_CONFDIR="" source /etc/apache2/envvars
rm -f "${APACHE_PID_FILE}"