1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

remove old cron log and have per app log to fix permission

This commit is contained in:
Clément 2019-11-17 11:00:54 +01:00
parent 2ca65563e2
commit 8d8ebfd453
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -156,6 +156,10 @@ ynh_replace_string "__APP__" $app ../conf/freshrss.cron
cp ../conf/freshrss.cron "$cron_path" cp ../conf/freshrss.cron "$cron_path"
chmod 644 "$cron_path" chmod 644 "$cron_path"
if [ -f /tmp/FreshRSS.log ]; then
ynh_secure_remove /tmp/FreshRSS.log
fi
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION
#================================================= #=================================================