Add /media and /run to the filesystems ignored by updatedb

This commit is contained in:
Eelco Dolstra 2013-08-14 03:07:36 +02:00
parent ce866184c6
commit 14315b81b1

View File

@ -48,7 +48,7 @@ in
script =
''
mkdir -m 0755 -p $(dirname ${locatedb})
exec updatedb --localuser=nobody --output=${locatedb}
exec updatedb --localuser=nobody --output=${locatedb} --prunepaths='/tmp /var/tmp /media /run'
'';
serviceConfig.Nice = 19;
serviceConfig.IOSchedulingClass = "idle";