2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

Add customize rsyslog configuration files and logrotate configuration file for Debian/Ubuntu package

This commit is contained in:
GONG Jie 2015-09-08 18:40:10 +08:00
parent b041be4d27
commit d6afada659
3 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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/

View File

@ -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 $(</var/run/rsyslogd.pid) >/dev/null 2>&1 || :
;;
abort-upgrade|abort-remove|abort-deconfigure)