[Lunar-commits] <moonbase> preload: Version bump to 0.6.4
Stefan Wold
ratler at lunar-linux.org
Sun Feb 14 11:03:01 CET 2010
commit b6c40b134693b054089d9d24a83e4d66e6388dd5
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sun Feb 14 11:03:01 2010 +0100
preload: Version bump to 0.6.4
* Added help2man as optional dependency
* Added logrotate as optional dependency
---
utils/preload/DEPENDS | 2 ++
utils/preload/DETAILS | 9 +++++----
utils/preload/logrotate.d/preload | 6 ++++++
3 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/utils/preload/DEPENDS b/utils/preload/DEPENDS
new file mode 100644
index 0000000..179b713
--- /dev/null
+++ b/utils/preload/DEPENDS
@@ -0,0 +1,2 @@
+optional_depends "help2man" "" "" "for man page support"
+optional_depends "logrotate" "" "" "for automatic log file rotation"
diff --git a/utils/preload/DETAILS b/utils/preload/DETAILS
index 966fdf4..57d8a21 100644
--- a/utils/preload/DETAILS
+++ b/utils/preload/DETAILS
@@ -1,13 +1,14 @@
MODULE=preload
- VERSION=0.4
+ VERSION=0.6.4
SOURCE=$MODULE-$VERSION.tar.gz
SOURCE_URL=$SFORGE_URL/$MODULE
- SOURCE_VFY=sha1:24ed2fcbb0920775d8bbbe79f85a1365086f9b1f
+ SOURCE_VFY=sha1:2313a7f9c8713fbc0efaf649b29dbe36ed0b3945
WEB_SITE=http://sourceforge.net/projects/preload
ENTERED=20061130
- UPDATED=20061130
+ UPDATED=20100214
SHORT="Speeds up application starting by predictive preloading files"
- PSAFE=no
+PSAFE=no
+
cat << EOF
preload monitors and registers which files applications use a lot and
preloads them into memory, usually speeding up startup times after several
diff --git a/utils/preload/logrotate.d/preload b/utils/preload/logrotate.d/preload
new file mode 100644
index 0000000..aac1454
--- /dev/null
+++ b/utils/preload/logrotate.d/preload
@@ -0,0 +1,6 @@
+/var/log/preload.log {
+ rotate 5
+ postrotate
+ /bin/kill -HUP `cat /var/run/preload.pid` 2> /dev/null || true
+ endscript
+}
More information about the Lunar-commits
mailing list