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:
parent
2ca65563e2
commit
8d8ebfd453
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue