aboutsummaryrefslogtreecommitdiffstats
path: root/main/syslog-ng/syslog-ng.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/syslog-ng/syslog-ng.post-install')
-rw-r--r--main/syslog-ng/syslog-ng.post-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/syslog-ng/syslog-ng.post-install b/main/syslog-ng/syslog-ng.post-install
new file mode 100644
index 0000000000..ea2a5c2b2e
--- /dev/null
+++ b/main/syslog-ng/syslog-ng.post-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ ! -f /var/log/auth.log ] && touch /var/log/auth.log
+[ ! -f /var/log/error.log ] && touch /var/log/error.log
+[ ! -f /var/log/mail.log ] && touch /var/log/mail.log
+[ ! -f /var/log/kern.log ] && touch /var/log/kern.log