projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move RPM pkg files to rpm directory
[pazpar2-moved-to-github.git]
/
rpm
/
pazpar2.logrotate
diff --git a/rpm/pazpar2.logrotate
b/rpm/pazpar2.logrotate
new file mode 100644
(file)
index 0000000..
b2bd6fb
--- /dev/null
+++ b/
rpm/pazpar2.logrotate
@@ -0,0
+1,13
@@
+/var/log/pazpar2.log {
+ weekly
+ missingok
+ rotate 4
+ compress
+ delaycompress
+ notifempty
+ postrotate
+ if [ -f /var/run/pazpar2.pid ]; then
+ /sbin/service pazpar2 restart > /dev/null
+ fi
+ endscript
+}