Add spool file for rsyslog config
This commit is contained in:
parent
4d57474c03
commit
d474e5cf27
Binary file not shown.
|
@ -8,6 +8,7 @@
|
||||||
create 644 root root
|
create 644 root root
|
||||||
olddir /var/log/old_logs
|
olddir /var/log/old_logs
|
||||||
}
|
}
|
||||||
|
|
||||||
/var/log/alternatives.log {
|
/var/log/alternatives.log {
|
||||||
weekly
|
weekly
|
||||||
rotate 12
|
rotate 12
|
||||||
|
@ -18,3 +19,4 @@
|
||||||
create 644 root root
|
create 644 root root
|
||||||
olddir /var/log/old_logs
|
olddir /var/log/old_logs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@ $KLogPath /proc/kmsg
|
||||||
#$ModLoad imtcp
|
#$ModLoad imtcp
|
||||||
#$InputTCPServerRun 514
|
#$InputTCPServerRun 514
|
||||||
|
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
#### GLOBAL DIRECTIVES ####
|
#### GLOBAL DIRECTIVES ####
|
||||||
###########################
|
###########################
|
||||||
|
@ -46,12 +45,16 @@ $FileCreateMode 0640
|
||||||
$DirCreateMode 0755
|
$DirCreateMode 0755
|
||||||
$Umask 0022
|
$Umask 0022
|
||||||
|
|
||||||
|
#
|
||||||
|
# Where to place spool and state files
|
||||||
|
#
|
||||||
|
$WorkDirectory /var/spool/rsyslog
|
||||||
|
|
||||||
#
|
#
|
||||||
# Include all config files in /etc/rsyslog.d/
|
# Include all config files in /etc/rsyslog.d/
|
||||||
#
|
#
|
||||||
$IncludeConfig /etc/rsyslog.d/*.conf
|
$IncludeConfig /etc/rsyslog.d/*.conf
|
||||||
|
|
||||||
|
|
||||||
###############
|
###############
|
||||||
#### RULES ####
|
#### RULES ####
|
||||||
###############
|
###############
|
||||||
|
|
Loading…
Reference in New Issue