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

[enh] Remove 'logrotate' config as not needed

See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37
This commit is contained in:
Gofannon 2018-06-27 00:02:25 +02:00
parent c7261fb714
commit 83aac4438b
5 changed files with 0 additions and 29 deletions

View file

@ -56,9 +56,4 @@ ynh_backup "/etc/php5/fpm/conf.d/20-$app.ini"
#=================================================
# SPECIFIC BACKUP
#=================================================
# BACKUP LOGROTATE
#=================================================
ynh_backup "/etc/logrotate.d/$app"

View file

@ -140,12 +140,6 @@ chmod -R 755 $final_path/lib/plugins
chmod 755 $final_path/lib/tpl/{dokuwiki,dokuwiki/images}
#=================================================
# SETUP LOGROTATE
#=================================================
# Use logrotate to manage application logfile(s)
ynh_use_logrotate
# SETUP SSOWAT
#=================================================

View file

@ -43,13 +43,6 @@ ynh_remove_nginx_config
# Remove the dedicated php-fpm config
ynh_remove_fpm_config
#=================================================
# REMOVE LOGROTATE CONFIGURATION
#=================================================
# Remove the app-specific logrotate config
ynh_remove_logrotate
#=================================================
# SPECIFIC REMOVE
#=================================================

View file

@ -87,11 +87,7 @@ ynh_restore_file "/etc/php5/fpm/conf.d/20-$app.ini"
# SPECIFIC RESTORATION
#=================================================
#=================================================
# RESTORE THE LOGROTATE CONFIGURATION
#=================================================
ynh_restore_file "/etc/logrotate.d/$app"
#=================================================
# GENERIC FINALIZATION

View file

@ -170,13 +170,6 @@ ynh_backup_if_checksum_is_different "$final_path/conf/local.php"
# Recalculate and store the config file checksum into the app settings
ynh_store_file_checksum "$final_path/conf/local.php"
#=================================================
# SETUP LOGROTATE
#=================================================
# Use logrotate to manage app-specific logfile(s)
ynh_use_logrotate --non-append
#=================================================
# GENERIC FINALIZATION