Add spool file for rsyslog config

This commit is contained in:
Jeremy Gardais 2016-02-09 16:53:13 +01:00
parent 4d57474c03
commit d474e5cf27
4 changed files with 7 additions and 2 deletions

Binary file not shown.

View File

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

View File

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