From: gandalf Date: Tue, 4 Mar 2008 21:56:24 +0000 (+0000) Subject: - Pridani generovani statistik do prometheus.cron X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=45ae1b123a1bcaefc39fb1d9bb0217147916fb97;p=svn%2FPrometheus-QoS%2F.git - Pridani generovani statistik do prometheus.cron - uprava make file tak aby slo generovat balicky i pod userem (pouziti fakeroot) git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@71 251d49ef-1d17-4917-a970-b30cf55b089b --- diff --git a/Makefile b/Makefile index eb33db8..767f430 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ main: prometheus deb: main debian/prometheus.debian - dpkg-buildpackage + dpkg-buildpackage -rfakeroot tgz: clean cp -r . ../$(PACKAGE)-$(VERSION) diff --git a/conf/prometheus.cron b/conf/prometheus.cron index 08e557c..e89d3d4 100644 --- a/conf/prometheus.cron +++ b/conf/prometheus.cron @@ -3,3 +3,7 @@ 0 0,1,7-23 * * * root nice /usr/sbin/prometheus -p 1>/dev/null 0 2 * * * root /usr/sbin/prometheus 1>/dev/null + +# Statistics +0 4 1 * * root /usr/sbin/prometheus -m 1>/dev/null +0 5 1 1 * root /usr/sbin/prometheus -y 1>/dev/null diff --git a/debian/changelog b/debian/changelog index 3b15010..a7e954a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +prometheus (0.7.8-2) stable; urgency=low + + * Modified init and crontab config files (prometheus stats) + * Firts mipsel package edition (for RouterBoard, etc.) + + -- gandalf Tue, 04 Mar 2008 22:48:54 +0100 + prometheus (0.7.8-1) stable; urgency=low * Experimental package from version 0.7.8 diff --git a/debian/postinst b/debian/postinst index 126ed07..84f8e30 100644 --- a/debian/postinst +++ b/debian/postinst @@ -21,7 +21,7 @@ set -e case "$1" in configure) - /etc/prometheus/check-kernel-qos +# /etc/prometheus/check-kernel-qos if [ -x "/etc/init.d/prometheus" ]; then update-rc.d prometheus defaults 40 >/dev/null