1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shaarli_ynh.git synced 2024-09-03 20:26:10 +02:00

Fix logrotate in backup and restore

This commit is contained in:
anmol 2018-11-08 00:37:29 +05:30
parent 9109a4ca89
commit 3a3e8ac329
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ ynh_backup "/etc/php5/fpm/pool.d/$app.conf"
# BACKUP LOGROTATE
#=================================================
ynh_backup "$final_path/data/log.txt"
ynh_backup "/etc/logrotate.d/$app"
#=================================================
# BACKUP FAIL2BAN CONFIGURATION

View file

@ -88,7 +88,7 @@ ynh_install_app_dependencies 'php5-cli|php-cli' php-gettext 'php5-curl|php-curl'
# RESTORE THE LOGROTATE CONFIGURATION
#=================================================
ynh_restore_file "$final_path/data/log.txt"
ynh_restore_file "/etc/logrotate.d/$app"
#=================================================
# RESTORE FAIL2BAN CONFIGURATION