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

Merge pull request #37 from YunoHost-Apps/restore_ci_fix

Fix logrotate backup and restore
This commit is contained in:
anmol26s 2018-11-17 13:35:30 +05:30 committed by GitHub
commit 53587c7ce1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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