diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2006-08-24 07:53:09 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2006-08-24 07:53:09 +0000 |
commit | 627c760d661521ef2b217cbf05232655e4b0eca9 (patch) | |
tree | 8baaeb27e2f6415d9c5d0085286ae59bd3047552 | |
parent | 82b3fba2afb70839ee1ebd94d6ceae9641ac42c6 (diff) | |
download | sitesummary-627c760d661521ef2b217cbf05232655e4b0eca9.tar.gz sitesummary-627c760d661521ef2b217cbf05232655e4b0eca9.tar.bz2 sitesummary-627c760d661521ef2b217cbf05232655e4b0eca9.tar.xz |
Run client with low priority.
-rw-r--r-- | debian/sitesummary-client.cron.d | 2 | ||||
-rw-r--r-- | debian/sitesummary-client.init | 2 |
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) ;; |