mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
makes /var/log/$app/freshrss.log backup conditionnal to its existence
This commit is contained in:
parent
24f62bb218
commit
c2c1ae0a44
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@ ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
|||
|
||||
ynh_backup --src_path="/var/log/nginx/$domain-access.log"
|
||||
|
||||
ynh_backup --src_path="/var/log/$app/freshrss.log"
|
||||
if [ -f "/var/log/$app/freshrss.log" ]; then
|
||||
ynh_backup --src_path="/var/log/$app/freshrss.log"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC BACKUP
|
||||
|
|
Loading…
Add table
Reference in a new issue