diff --git a/build.sh b/build.sh index 36bccf6..a0aeed5 100755 --- a/build.sh +++ b/build.sh @@ -21,7 +21,7 @@ create_deb() { 11 EOF fi - /usr/bin/dh_make -t $2/template -n -y -i -d + /usr/bin/dh_make -t $2/template -n -y -i -d -c mit -e vincent.benoit@benserv.fr /usr/bin/find $2/misc -type f -exec /usr/bin/cp -a {} . \; /usr/bin/dpkg-buildpackage -b -uc -us -rfakeroot /usr/bin/rm -f $2/template/compat diff --git a/misc/logrotate.conf b/misc/logrotate.conf index 72e6e32..9a258d7 100644 --- a/misc/logrotate.conf +++ b/misc/logrotate.conf @@ -48,26 +48,3 @@ dateext dateformat -%Y%m%d_%H%M%S } - -/var/log/kineintercom/Intercom.log { - # Rotate log files set under this user and group - # instead of using default user/group (usually root) - su root pi - # Les logs sont compréssé avant rotation - compress - # compression au tour d'après - delaycompress - # garder 30 archives - rotate 30 - # Fréquence de rotation hebdomadaire - daily - # Si la taille est supérieure à 20 Mo, déclencher la rotation - maxsize 20M - # Toutes les archives sont stockées dans /var/log - olddir /var/log/kineintercom - # Si le fichier est manquant, ne pas générer d'erreur et continuer - missingok - # On écrit la date dans le nom du fichier - dateext - dateformat -%Y%m%d_%H%M%S -}