diff --git a/xCAT/debian/dirs b/xCAT/debian/dirs index f1b529689..5a175ee43 100644 --- a/xCAT/debian/dirs +++ b/xCAT/debian/dirs @@ -7,4 +7,6 @@ opt/xcat/share/xcat etc/apache2/conf.d etc/apache2/conf-available etc/apache2/conf-enabled +etc/logrotate.d +etc/rsyslog.d opt/xcat/share/doc/packages/xCAT diff --git a/xCAT/debian/install b/xCAT/debian/install index 33798984d..ef7f7dd4d 100644 --- a/xCAT/debian/install +++ b/xCAT/debian/install @@ -6,3 +6,5 @@ postscripts/* install/postscripts/ prescripts/* install/prescripts/ templates/* opt/xcat/share/xcat/templates/ xCATMN etc/ +etc/logrotate.d/* etc/logrotate.d/ +etc/rsyslog.d/* etc/rsyslog.d/ diff --git a/xCAT/debian/postinst b/xCAT/debian/postinst index 509d48446..8165446f4 100644 --- a/xCAT/debian/postinst +++ b/xCAT/debian/postinst @@ -45,6 +45,8 @@ case "$1" in ln -s -f /etc/apache2/conf-available/xcat.conf.apach24 /etc/apache2/conf-enabled/xcat.conf /etc/init.d/apache2 restart + + kill -HUP $(/dev/null 2>&1 || : ;; abort-upgrade|abort-remove|abort-deconfigure)