From 58dc23dae4a7ca648f5e71405847e261ce9f1e6f Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 23 Jul 2024 15:01:10 +0300 Subject: [PATCH] systemd/aminda-duperemove.service: add a drop-in rootfs.conf --- etc/systemd/system/aminda-duperemove.service.d/rootfs.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 etc/systemd/system/aminda-duperemove.service.d/rootfs.conf diff --git a/etc/systemd/system/aminda-duperemove.service.d/rootfs.conf b/etc/systemd/system/aminda-duperemove.service.d/rootfs.conf new file mode 100644 index 00000000..da7132ac --- /dev/null +++ b/etc/systemd/system/aminda-duperemove.service.d/rootfs.conf @@ -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 /