projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a6a137
)
Add logrotate script
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 8 Sep 2010 12:26:36 +0000
(08:26 -0400)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 8 Sep 2010 12:26:36 +0000
(08:26 -0400)
rpm/metaproxy.logrotate
[new file with mode: 0644]
patch
|
blob
diff --git a/rpm/metaproxy.logrotate
b/rpm/metaproxy.logrotate
new file mode 100644
(file)
index 0000000..
6592e97
--- /dev/null
+++ b/
rpm/metaproxy.logrotate
@@ -0,0
+1,13
@@
+/var/log/metaproxy.log {
+ weekly
+ missingok
+ rotate 4
+ compress
+ delaycompress
+ notifempty
+ postrotate
+ if [ -f /var/run/metaproxy.pid ]; then
+ /sbin/service metaproxy restart > /dev/null
+ fi
+ endscript
+}