From 682467bf4cf35e3926321f856cd8434b5608d8ba Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 1 Feb 2025 09:50:04 +0200 Subject: [PATCH] monthly-btrfs-balance.service: attempt to cancel existing balance --- etc/systemd/system/monthly-btrfs-balance.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/systemd/system/monthly-btrfs-balance.service b/etc/systemd/system/monthly-btrfs-balance.service index af79e1f0..fb70a771 100644 --- a/etc/systemd/system/monthly-btrfs-balance.service +++ b/etc/systemd/system/monthly-btrfs-balance.service @@ -1,12 +1,12 @@ [Unit] Description=Monthly BTRFS full balancing After=aminda-duperemove.service -Conflicts=aminda-duperemove.service [Service] Type=oneshot TimeoutStartSec=infinity # Contained in `systemd-path search-binaries-default` +ExecStartPre=-btrfs balance cancel / ExecStart=btrfs balance start --full-balance / User=root StandardOutput=journal