diff --git a/.gitattributes b/.gitattributes index c65c1e67..2e38f305 100644 --- a/.gitattributes +++ b/.gitattributes @@ -247,6 +247,8 @@ bureau/locales/pt_BR/LC_MESSAGES/messages.po -text debian/README.Debian -text debian/alternc-slave.dirs -text debian/alternc-slave.install -text +debian/alternc-slave.links -text +debian/alternc-slave.logrotate -text debian/alternc.cron.d -text debian/alternc.dirs -text debian/alternc.links -text diff --git a/debian/alternc-slave.links b/debian/alternc-slave.links new file mode 100644 index 00000000..74c69167 --- /dev/null +++ b/debian/alternc-slave.links @@ -0,0 +1 @@ +/usr/share/alternc/install/alternc.install usr/sbin/alternc.install diff --git a/debian/alternc-slave.logrotate b/debian/alternc-slave.logrotate new file mode 100644 index 00000000..acbaa5a1 --- /dev/null +++ b/debian/alternc-slave.logrotate @@ -0,0 +1,32 @@ +# +# Logrotate.d script for AlternC +# $Id: alternc.logrotate,v 1.1 2004/05/25 02:35:38 anonymous Exp $ +# + +/var/log/alternc/bureau.log { + monthly + missingok + create 0640 www-data www-data + rotate 12 + compress + delaycompress +} + +/var/log/alternc/domaines.log { + monthly + missingok + create 0640 root root + rotate 12 + compress + delaycompress +} + +/var/log/alternc/sub_domaines.log { + monthly + missingok + create 0640 root root + rotate 12 + compress + delaycompress +} +