diff --git a/conf/freshrss.cron b/conf/freshrss.cron index 0f5321c..659ed47 100644 --- a/conf/freshrss.cron +++ b/conf/freshrss.cron @@ -1 +1 @@ -*/10 * * * * __APP__ /usr/bin/php7.0 __FINALPATH__/app/actualize_script.php >/tmp/FreshRSS.log 2>&1 +*/10 * * * * __APP__ /usr/bin/php7.0 __FINALPATH__/app/actualize_script.php >/tmp/__APP__.log 2>&1 diff --git a/scripts/upgrade b/scripts/upgrade index 0e8bf00..bb0d7ba 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -156,6 +156,10 @@ ynh_replace_string "__APP__" $app ../conf/freshrss.cron cp ../conf/freshrss.cron "$cron_path" chmod 644 "$cron_path" +if [ -f /tmp/FreshRSS.log ]; then + ynh_secure_remove /tmp/FreshRSS.log +fi + #================================================= # GENERIC FINALIZATION #=================================================