small fixes from Debian
cover small fixes from Debian
Hi Jes and Coly,
Here we have small Debian customizations worth to be integrated.
Mariusz Tkaczyk (2):
mdadm: systemd services adjustments
ReadMe: fix command-line help
ReadMe.c | 2 +- systemd/[email protected] | 1 + systemd/[email protected] | 1 + systemd/mdcheck_continue.service | 3 ++- systemd/mdcheck_start.service | 1 + systemd/[email protected] | 1 + systemd/mdmonitor-oneshot.service | 1 + systemd/mdmonitor.service | 1 + 8 files changed, 9 insertions(+), 2 deletions(-)
Signature · 1 line
2.26.2
PATCH 1/2 mdadm: systemd services adjustments
Add documentation section.
Copied from Debian.
Cc Felix Lechner <[email protected]>
Signed-off-by Mariusz Tkaczyk <[email protected]>
--- systemd/[email protected] | 1 + systemd/[email protected] | 1 + systemd/mdcheck_continue.service | 3 ++- systemd/mdcheck_start.service | 1 + systemd/[email protected] | 1 + systemd/mdmonitor-oneshot.service | 1 + systemd/mdmonitor.service | 1 + 7 files changed, 8 insertions(+), 1 deletion(-)
systemd/[email protected] +1 -0
@@ -8,6 +8,7 @@ [Unit] Description=Manage MD Reshape on /dev/%I DefaultDependencies=no +Documentation=man:mdadm(8) [Service] ExecStart=BINDIR/mdadm --grow --continue /dev/%I
systemd/[email protected] +1 -0
@@ -2,6 +2,7 @@ Description=Activate md array %I even though degraded DefaultDependencies=no ConditionPathExists=!/sys/devices/virtual/block/%i/md/sync_action +Documentation=man:mdadm(8) [Service] Type=oneshot
systemd/mdcheck_continue.service +2 -1
@@ -7,7 +7,8 @@ [Unit] Description=MD array scrubbing - continuation -ConditionPathExistsGlob = /var/lib/mdcheck/MD_UUID_* +ConditionPathExistsGlob=/var/lib/mdcheck/MD_UUID_* +Documentation=man:mdadm(8) [Service] Type=oneshot
systemd/mdcheck_start.service +1 -0
@@ -8,6 +8,7 @@ [Unit] Description=MD array scrubbing Wants=mdcheck_continue.timer +Documentation=man:mdadm(8) [Service] Type=oneshot
systemd/[email protected] +1 -0
@@ -9,6 +9,7 @@ Description=MD Metadata Monitor on /dev/%I DefaultDependencies=no Before=initrd-switch-root.target +Documentation=man:mdmon(8) [Service] # mdmon should never complain due to lack of a platform,
systemd/mdmonitor-oneshot.service +1 -0
@@ -7,6 +7,7 @@ [Unit] Description=Reminder for degraded MD arrays +Documentation=man:mdadm(8) [Service] Environment=MDADM_MONITOR_ARGS=--scan
systemd/mdmonitor.service +1 -0
@@ -8,6 +8,7 @@ [Unit] Description=MD array monitor DefaultDependencies=no +Documentation=man:mdadm(8) [Service] Environment= MDADM_MONITOR_ARGS=--scan
Signature · 1 line
2.26.2
Re: [PATCH 1/2] mdadm: systemd services adjustments
Dear Mariusz,
Thank you for the patches. Maybe use the summary/subject/title below:
mdadm: Add Documentation entries to systemd services
Kind regards,
Paul
PATCH 2/2 ReadMe: fix command-line help
In reply to Mariusz TkaczykMake command-line help consistent with manual page. Copied from Debian.
Cc Felix Lechner <[email protected]>
Signed-off-by Mariusz Tkaczyk <[email protected]>
--- ReadMe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ReadMe.c +1 -1
@@ -477,7 +477,7 @@ char Help_assemble[] = ;char Help_manage[] = -"Usage: mdadm arraydevice options component devices...\n" +"Usage: mdadm [mode] arraydevice [options] <component devices...>\n" "\n" "This usage is for managing the component devices within an array.\n" "The --manage option is not needed and is assumed if the first argument\n"
Signature · 1 line
2.26.2