From 3cae9f801519ea7f6fdab799ef1be92cc6017974 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 2 Jan 2025 09:31:23 +0200 Subject: [PATCH] aminda-duperemove.service.d: fix filenames, comments --- .../system/aminda-duperemove.service.d/00-rootfs.conf | 4 ++++ .../{btrfs-balance.conf => 99-btrfs-balance.conf} | 0 etc/systemd/system/aminda-duperemove.service.d/rootfs.conf | 6 ------ 3 files changed, 4 insertions(+), 6 deletions(-) create mode 100644 etc/systemd/system/aminda-duperemove.service.d/00-rootfs.conf rename etc/systemd/system/aminda-duperemove.service.d/{btrfs-balance.conf => 99-btrfs-balance.conf} (100%) delete mode 100644 etc/systemd/system/aminda-duperemove.service.d/rootfs.conf diff --git a/etc/systemd/system/aminda-duperemove.service.d/00-rootfs.conf b/etc/systemd/system/aminda-duperemove.service.d/00-rootfs.conf new file mode 100644 index 00000000..da8209f4 --- /dev/null +++ b/etc/systemd/system/aminda-duperemove.service.d/00-rootfs.conf @@ -0,0 +1,4 @@ +[Service] +# This drop-in will make the service deduplicate everything. +ExecStart= +ExecStart=-duperemove -rdhq --hashfile=/root/rootfs.hash / diff --git a/etc/systemd/system/aminda-duperemove.service.d/btrfs-balance.conf b/etc/systemd/system/aminda-duperemove.service.d/99-btrfs-balance.conf similarity index 100% rename from etc/systemd/system/aminda-duperemove.service.d/btrfs-balance.conf rename to etc/systemd/system/aminda-duperemove.service.d/99-btrfs-balance.conf diff --git a/etc/systemd/system/aminda-duperemove.service.d/rootfs.conf b/etc/systemd/system/aminda-duperemove.service.d/rootfs.conf deleted file mode 100644 index 08816e29..00000000 --- a/etc/systemd/system/aminda-duperemove.service.d/rootfs.conf +++ /dev/null @@ -1,6 +0,0 @@ -[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=-duperemove -rdhq --hashfile=/root/rootfs.hash /