]> git.neil.brown.name Git - mdadm.git/commitdiff
mdadm: Add Documentation entries to systemd services
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Fri, 9 Sep 2022 13:50:33 +0000 (15:50 +0200)
committerJes Sorensen <jsorensen@fb.com>
Fri, 16 Sep 2022 19:27:02 +0000 (15:27 -0400)
Add documentation section.
Copied from Debian.

Cc: Felix Lechner <felix.lechner@lease-up.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Acked-by: Coly Li <colyli@suse.de>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
systemd/mdadm-grow-continue@.service
systemd/mdadm-last-resort@.service
systemd/mdcheck_continue.service
systemd/mdcheck_start.service
systemd/mdmon@.service
systemd/mdmonitor-oneshot.service
systemd/mdmonitor.service

index 9fdc8ec79a6f5a007a177199557715cec840f395..64b8254ad95316fc0e5b7822aaf16cac5ad6a602 100644 (file)
@@ -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
index efeb3f639193b90358a7c2bcc9f23c87d9157ca9..e9381125d84822793bd6b85601720117d331a8cd 100644 (file)
@@ -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
index 854317f117000d9622d432d850b8d9ae08d0d3a0..f53249058b28250674368f199825b2b4aa9ad28d 100644 (file)
@@ -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
index 3bb3d130801f9c04acad46b70b6b26b819b40b7c..703a65832597dcd02f018d877a03438a34bb6a1f 100644 (file)
@@ -8,6 +8,7 @@
 [Unit]
 Description=MD array scrubbing
 Wants=mdcheck_continue.timer
+Documentation=man:mdadm(8)
 
 [Service]
 Type=oneshot
index 77533958c2229c4377d6d1d2ec1aaf4e259a4285..97a1acd99f43bca16d31185a1f910d9a1cff1880 100644 (file)
@@ -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,
index 373955a2e176785006087094035a61e2c2f30c35..ba86b44ed52fdeb409045816e5dfcccd8e7c8b56 100644 (file)
@@ -7,6 +7,7 @@
 
 [Unit]
 Description=Reminder for degraded MD arrays
+Documentation=man:mdadm(8)
 
 [Service]
 Environment=MDADM_MONITOR_ARGS=--scan
index 46f7b8801354cde02fc79c970da43a6432aaac2f..9c364785445b00097539e27ec31366b4f3343e78 100644 (file)
@@ -8,6 +8,7 @@
 [Unit]
 Description=MD array monitor
 DefaultDependencies=no
+Documentation=man:mdadm(8)
 
 [Service]
 Environment=  MDADM_MONITOR_ARGS=--scan