summaryrefslogtreecommitdiff
path: root/system/postgresql/postgresql.logrotate
diff options
context:
space:
mode:
authorAdis Nezirovic <adis _at_ linux.org.ba>2010-05-11 15:18:43 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 15:18:43 +0200
commitbae18fdb80148edcdae1b2576e950bd40bcbea4d (patch)
tree853acf5d4399911d51721f78e7cccd52e748755e /system/postgresql/postgresql.logrotate
parentfa2426f410d0f29f621d095e5e71b89f3f032252 (diff)
downloadslackbuilds-bae18fdb80148edcdae1b2576e950bd40bcbea4d.tar.gz
system/postgresql: Initial import
Diffstat (limited to 'system/postgresql/postgresql.logrotate')
-rw-r--r--system/postgresql/postgresql.logrotate8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/postgresql/postgresql.logrotate b/system/postgresql/postgresql.logrotate
new file mode 100644
index 0000000000..c8724992e2
--- /dev/null
+++ b/system/postgresql/postgresql.logrotate
@@ -0,0 +1,8 @@
+/var/log/postgresql.log {
+ postrotate
+ /etc/rc.d/rc.postgresql reload 2>&1 > /dev/null
+ endscript
+ size=100k
+ rotate 5
+ create 0640 postgres wheel
+}