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:
parent
b041be4d27
commit
d6afada659
@ -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
|
||||
|
@ -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/
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user