]>
Commit | Line | Data |
---|---|---|
4199d3c6 N |
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 | |
10 | Wants=mdcheck_continue.timer | |
11 | ||
12 | [Service] | |
13 | Type=oneshot | |
4ca799c5 | 14 | Environment= MDADM_CHECK_DURATION="6 hours" |
4199d3c6 N |
15 | EnvironmentFile=-/run/sysconfig/mdadm |
16 | ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh | |
4ca799c5 | 17 | ExecStart=/usr/share/mdadm/mdcheck --duration ${MDADM_CHECK_DURATION} |