Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 164753 Details for
Bug 231203
use ionice in /etc/cron.daily/mlocate
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mlocate.cron.diff
mlocate.cron.diff (text/plain), 587 bytes, created by
Daniel Pielmeier
on 2008-09-06 19:50:12 UTC
(
hide
)
Description:
mlocate.cron.diff
Filename:
MIME Type:
Creator:
Daniel Pielmeier
Created:
2008-09-06 19:50:12 UTC
Size:
587 bytes
patch
obsolete
>--- mlocate.cron 2007-07-08 12:26:09.000000000 +0200 >+++ mlocate.cron 2008-09-06 20:31:22.000000000 +0200 >@@ -4,8 +4,19 @@ > then > if [ -f /etc/updatedb.conf ] > then >- nice /usr/bin/updatedb >+ args="" > else >- nice /usr/bin/updatedb -f proc >+ args="-f proc" > fi >+ >+ if [ -f /etc/mlocate-cron.conf ] >+ then >+ . /etc/mlocate-cron.conf >+ fi >+ >+ # run on active process in case ionice isnt installed, or >+ # system is really old and ionice doesnt work ... >+ ionice -c ${IONICE_CLASS:-2} -n ${IONICE_PRIORITY:-7} -p $$ 2>/dev/null >+ >+ nice -n ${NICE:-10} /usr/bin/updatedb ${args} > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 231203
:
164714
|
164715
|
164751
| 164753 |
164754