aminda-duperemove.service: run blkid

This commit is contained in:
Aminda Suomalainen 2025-04-23 11:19:25 +03:00
parent 1d52bc9e2e
commit 14035d22c4
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -5,6 +5,9 @@ Description=Aminda's deduplication service
Type=oneshot Type=oneshot
TimeoutStartSec=infinity TimeoutStartSec=infinity
# Contained in `systemd-path search-binaries-default` # Contained in `systemd-path search-binaries-default`
# I have observed duperemove requesting blkid to be ran as root for
# generating some cache, so sure.
ExecStart=-blkid
ExecStart=-duperemove -rdhq --hashfile=/root/home.hash /home ExecStart=-duperemove -rdhq --hashfile=/root/home.hash /home
ExecStart=-duperemove -rdhq --hashfile=/root/usr-local-bin.hash /usr/local/bin ExecStart=-duperemove -rdhq --hashfile=/root/usr-local-bin.hash /usr/local/bin
ExecStart=-duperemove -rdhq --hashfile=/root/flatpak.hash /var/lib/flatpak ExecStart=-duperemove -rdhq --hashfile=/root/flatpak.hash /var/lib/flatpak