Compare commits

..

No commits in common. "7bedb306da08896d3e3905af423ebc0e48d06fc6" and "665ec502a5bca02ce123e85d01c058d024966211" have entirely different histories.

2 changed files with 6 additions and 11 deletions

View File

@ -1,13 +1,11 @@
/var/www/html/nineschool/var/log/*.log {
su root www-data
maxsize 50M
daily
rotate 7
size 900
maxage 7
compress
dateext
dateformat -%Y%m%d
missingok
create 644 www-data www-data
rotate 5
compress
notifempty
nocreate
su www-data
}

View File

@ -9,9 +9,6 @@ DIR=$(pwd)
# Déclaration d'un proxy
. $DIR/scripts/proxy.sh
# Suppression des logs trop ancien
find $DIR/var/log -mindepth 1 -mtime +7 -delete
# Mise en place du fichier d'environnement model
yes 2>/dev/null | cp $DIR/scripts/.env.model $DIR/.env