mdcheck_continue continues a regular array scan that was started by mdcheck_start. mdcheck_start will ensure that mdcheck_continue is active. Howver if you reboot after a check has started, but before it finishes, then mdcheck_continue won't cause it to continue, because nothing starts it on boot. So add an install option for mdcheck_contine, and make sure it gets enabled when mdcheck_start is enabled. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
16 lines
400 B
SYSTEMD
16 lines
400 B
SYSTEMD
# This file is part of mdadm.
|
|
#
|
|
# mdadm is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=MD array scrubbing - continuation
|
|
|
|
[Timer]
|
|
OnCalendar= 1:05:00
|
|
|
|
[Install]
|
|
WantedBy= mdmonitor.service
|