From d474e5cf27a7230206f153fbf3f90fb852cfcb9d Mon Sep 17 00:00:00 2001 From: Gardais Jeremy Date: Tue, 9 Feb 2016 16:53:13 +0100 Subject: [PATCH] Add spool file for rsyslog config --- preseed/debian/finish.tar.gz | Bin 2426 -> 2497 bytes preseed/debian/finish/logrotate/dpkg | 2 ++ .../rsyslog/{syslogd.conf => 99syslog.conf} | 0 preseed/debian/finish/rsyslog/rsyslog.conf | 7 +++++-- 4 files changed, 7 insertions(+), 2 deletions(-) rename preseed/debian/finish/rsyslog/{syslogd.conf => 99syslog.conf} (100%) diff --git a/preseed/debian/finish.tar.gz b/preseed/debian/finish.tar.gz index 505b7f367bf3258e125b70b14c3553c46c903a88..e65d32bc66ee411dbdf7b208899f832221c1fb9d 100644 GIT binary patch literal 2497 zcmV;y2|o58iwFQa3%XVS1MM2^PUOgu-+qb;gLJTBnC}@~P8*3VutE#RYJfXMQG|@$ zGt)P=+v>I%$Y!NHO&%;ylB)K%$DScMV3V9n0(;t3UEN*ZWzV?B)uOZWn$Sg~_7x`RQ#x6|$QhyC#mj9ztBF@!2GCBV)vY;H>1fcX zQU2pmzrO?B7hAyw_>IfI1<+xERS-PD2mH_Hp)><7JeYBZ!AwXp^! zGq6nGyyp%No^Y+7F2ww^87!cK1XgG1syS{vqrN@)4AIemWES)3Tnqd{+sEICcFp7i zlhe?HQEyn7e23dULB7 z1k$uQtp^1Wa6F;FbbW|4h?Me10Q1ay)Yb)`FK|oD;)+x&MOKG^I_WYm01*ZdEJ(2( zN32Ld4)+*NW9%JU#N-Us{)ElU&pNz^V0!(h>x-+8cQ@He2<=QSfsPS>1x$h+ z`VO~{!cGLKjJ+xI84X>k`IOnAW&(J)dVkj}T8SsDyle94^y-H$y zwepag6e5Uzf0QEh!L;4z=Lbm)QFIK@19y$R6E5>(7?q8^Th~-eKtJ4%R`TDhoMh)19oK>U9ea*6XXD-iMtIu9nAEa4{B8O?U?Sx$(&X#JLUE71&S z`bE!UlYiKY(IW>`MtG;))0&b+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&XrO@x8rTm10UqR;+W=4i0Km<}J^%m! diff --git a/preseed/debian/finish/logrotate/dpkg b/preseed/debian/finish/logrotate/dpkg index 2dfc575..933457d 100644 --- a/preseed/debian/finish/logrotate/dpkg +++ b/preseed/debian/finish/logrotate/dpkg @@ -8,6 +8,7 @@ create 644 root root olddir /var/log/old_logs } + /var/log/alternatives.log { weekly rotate 12 @@ -18,3 +19,4 @@ create 644 root root olddir /var/log/old_logs } + diff --git a/preseed/debian/finish/rsyslog/syslogd.conf b/preseed/debian/finish/rsyslog/99syslog.conf similarity index 100% rename from preseed/debian/finish/rsyslog/syslogd.conf rename to preseed/debian/finish/rsyslog/99syslog.conf diff --git a/preseed/debian/finish/rsyslog/rsyslog.conf b/preseed/debian/finish/rsyslog/rsyslog.conf index 2a42d36..98a48a8 100644 --- a/preseed/debian/finish/rsyslog/rsyslog.conf +++ b/preseed/debian/finish/rsyslog/rsyslog.conf @@ -23,7 +23,6 @@ $KLogPath /proc/kmsg #$ModLoad imtcp #$InputTCPServerRun 514 - ########################### #### GLOBAL DIRECTIVES #### ########################### @@ -46,12 +45,16 @@ $FileCreateMode 0640 $DirCreateMode 0755 $Umask 0022 +# +# Where to place spool and state files +# +$WorkDirectory /var/spool/rsyslog + # # Include all config files in /etc/rsyslog.d/ # $IncludeConfig /etc/rsyslog.d/*.conf - ############### #### RULES #### ###############