aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2006-08-24 07:53:09 +0000
committerPetter Reinholdtsen <pere@hungry.com>2006-08-24 07:53:09 +0000
commit627c760d661521ef2b217cbf05232655e4b0eca9 (patch)
tree8baaeb27e2f6415d9c5d0085286ae59bd3047552
parent82b3fba2afb70839ee1ebd94d6ceae9641ac42c6 (diff)
downloadsitesummary-627c760d661521ef2b217cbf05232655e4b0eca9.tar.gz
sitesummary-627c760d661521ef2b217cbf05232655e4b0eca9.tar.bz2
sitesummary-627c760d661521ef2b217cbf05232655e4b0eca9.tar.xz
Run client with low priority.
-rw-r--r--debian/sitesummary-client.cron.d2
-rw-r--r--debian/sitesummary-client.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/sitesummary-client.cron.d b/debian/sitesummary-client.cron.d
index 3760cf3..9d8d7a8 100644
--- a/debian/sitesummary-client.cron.d
+++ b/debian/sitesummary-client.cron.d
@@ -1,2 +1,2 @@
# Run once a day to report the wherabouts of the machine
-20 5 * * * root [ -x /usr/sbin/sitesummary-client ] && /usr/sbin/sitesummary-client
+20 5 * * * root [ -x /usr/sbin/sitesummary-client ] && nice /usr/sbin/sitesummary-client
diff --git a/debian/sitesummary-client.init b/debian/sitesummary-client.init
index 282990b..77b5906 100644
--- a/debian/sitesummary-client.init
+++ b/debian/sitesummary-client.init
@@ -19,7 +19,7 @@ test -x $CLIENT || exit 0
case "$1" in
start)
- ( sleep 300 ; $CLIENT ) &
+ ( sleep 300 ; nice $CLIENT ) &
;;
stop|reload|force-reload|restart)
;;