From 137b481962ce54dead3df1518bb885ed3e5e4347 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 2 Jan 2025 21:30:46 +0200 Subject: [PATCH] monthly-btrfs-balance.service: move restart to [Unit] where it belongs to --- etc/systemd/system/monthly-btrfs-balance.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/systemd/system/monthly-btrfs-balance.service b/etc/systemd/system/monthly-btrfs-balance.service index d5685337..f9ddaf7f 100644 --- a/etc/systemd/system/monthly-btrfs-balance.service +++ b/etc/systemd/system/monthly-btrfs-balance.service @@ -1,8 +1,6 @@ [Unit] Description=Monthly BTRFS full balancing After=aminda-duperemove.service -Restart=on-failure -RestartSec=5s [Service] Type=oneshot @@ -12,6 +10,8 @@ ExecStart=btrfs balance start --full-balance / User=root StandardOutput=journal StandardError=journal +Restart=on-failure +RestartSec=5s [Install] WantedBy=multi-user.target