diff options
author | Tollef Fog Heen <tfheen@err.no> | 2018-11-14 20:08:08 +0100 |
---|---|---|
committer | Tollef Fog Heen <tfheen@err.no> | 2018-11-14 20:08:08 +0100 |
commit | bcdcfddc91710776b485d37ddaee2a01a3a06777 (patch) | |
tree | a6009caa4a6ac93bfc1d0d0ad7da86f65ac63349 | |
parent | e6349df8def368a44f12dd7582604e61bc2b6123 (diff) |
Run cron script under nice. Closes: #602485
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/mlocate.cron.daily | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index b6c9fcb..b5f7083 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ mlocate (0.26-3) UNRELEASED; urgency=medium * Update list of excluded file systems. Closes: #907579 + * Run cron script under nice. Closes: #602485 -- Tollef Fog Heen <tfheen@debian.org> Wed, 14 Nov 2018 20:04:27 +0100 diff --git a/debian/mlocate.cron.daily b/debian/mlocate.cron.daily index 331d063..bc69541 100644 --- a/debian/mlocate.cron.daily +++ b/debian/mlocate.cron.daily @@ -24,4 +24,4 @@ if [ -x /usr/bin/nocache ]; then NOCACHE="/usr/bin/nocache" fi -flock --nonblock /run/mlocate.daily.lock $NOCACHE $IONICE /usr/bin/updatedb.mlocate +flock --nonblock /run/mlocate.daily.lock $NOCACHE $IONICE nice /usr/bin/updatedb.mlocate |