Only update plocate db on power to prevent hangs after sleep
This commit is contained in:
1 parent
fd03d57110
commit
3aff0017a1
3 files changed
+7
No files matched your search
@@ -0,0 +1,3 @@
|
||||
sudo install -d /etc/systemd/system/plocate-updatedb.service.d
|
||||
printf '%s\n' '[Unit]' 'ConditionACPower=true' | sudo tee /etc/systemd/system/plocate-updatedb.service.d/ac-only.conf >/dev/null
|
||||
sudo systemctl daemon-reload
|
||||
Reference in new issue
Block a user