systemd/aminda-duperemove.service: add a drop-in rootfs.conf

This commit is contained in:
Aminda Suomalainen 2024-07-23 15:01:10 +03:00
parent d98b2ebd22
commit 58dc23dae4
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
[Service]
# This drop-in will make the service deduplicate everything.
# WARNING: This is most likely a bad idea. My excuse is this system being on
# a small USB STICK with nothing important on it, what is yours?
ExecStart=
ExecStart=-/usr/bin/duperemove -rdhq --hashfile=/root/rootfs.hash /