Add /media and /run to the filesystems ignored by updatedb
This commit is contained in:
parent
ce866184c6
commit
14315b81b1
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user