[PATCH] mdcheck: Remove extra spaces in systemd timer directives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At package maintainer level, this is causing 'mdadm' to fail
to build. (e.g. In debian, causing debhelper's dh_installsystemd to not
find units to install due to the extra space.)

 "dh_installsystemd: error: Package 'mdadm' does not install unit ''. "

Signoff-by: Eric Desrochers <eric.desrochers@xxxxxxxxxxxxx>
---
 systemd/mdcheck_continue.timer | 2 +-
 systemd/mdcheck_start.timer    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/systemd/mdcheck_continue.timer b/systemd/mdcheck_continue.timer
index dba1074..3150fee 100644
--- a/systemd/mdcheck_continue.timer
+++ b/systemd/mdcheck_continue.timer
@@ -12,4 +12,4 @@ Description=MD array scrubbing - continuation
 OnCalendar= 1:05:00
 
 [Install]
-WantedBy= mdmonitor.service
+WantedBy=mdmonitor.service
diff --git a/systemd/mdcheck_start.timer b/systemd/mdcheck_start.timer
index 9e7e02a..e5d727a 100644
--- a/systemd/mdcheck_start.timer
+++ b/systemd/mdcheck_start.timer
@@ -12,5 +12,5 @@ Description=MD array scrubbing
 OnCalendar=Sun *-*-1..7 1:00:00
 
 [Install]
-WantedBy= mdmonitor.service
-Also= mdcheck_continue.timer
+WantedBy=mdmonitor.service
+Also=mdcheck_continue.timer
-- 
2.25.1




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux