summaryrefslogtreecommitdiffstats
path: root/testing/syslog-ng/syslog-ng.post-install
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-05-25 09:25:32 +0200
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-05-25 09:28:03 +0200
commit26d86737c4f6bfb4b2e350b36fe85bd6cf04cd4b (patch)
tree3ad80fb804d9a4db151d9a5a1d284d79e683ff10 /testing/syslog-ng/syslog-ng.post-install
parentf64bfe77a6bde014a88ea2840b3a54e2281ccbbb (diff)
downloadaports-26d86737c4f6bfb4b2e350b36fe85bd6cf04cd4b.tar.bz2
aports-26d86737c4f6bfb4b2e350b36fe85bd6cf04cd4b.tar.xz
testing/syslog-ng: new aport
Diffstat (limited to 'testing/syslog-ng/syslog-ng.post-install')
-rw-r--r--testing/syslog-ng/syslog-ng.post-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/syslog-ng/syslog-ng.post-install b/testing/syslog-ng/syslog-ng.post-install
new file mode 100644
index 000000000..893924674
--- /dev/null
+++ b/testing/syslog-ng/syslog-ng.post-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+echo "please remove other syslog services and activate syslog-ng with:"
+echo "rc-service syslog-ng start"
+echo "rc-update add syslog-ng boot"
+[ ! -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