| 1 |
# This file is part of mdadm. |
| 2 |
# |
| 3 |
# mdadm is free software; you can redistribute it and/or modify it |
| 4 |
# under the terms of the GNU General Public License as published by |
| 5 |
# the Free Software Foundation; either version 2 of the License, or |
| 6 |
# (at your option) any later version. |
| 7 |
|
| 8 |
[Unit] |
| 9 |
Description=MD array scrubbing - continuation |
| 10 |
Documentation=man:mdadm(8) |
| 11 |
|
| 12 |
[Service] |
| 13 |
Type=simple |
| 14 |
Environment="MDADM_CHECK_DURATION=6 hours" |
| 15 |
# mdcheck --start will continues previously started checks, and starts from |
| 16 |
# zero for arrays without a "Checked_$UUID" marker in /var/lib/mdcheck |
| 17 |
ExecStart=MISCDIR/mdcheck --start --duration ${MDADM_CHECK_DURATION} |