]> git.ipfire.org Git - thirdparty/mdadm.git/blame_incremental - systemd/mdcheck_start.service
mdcheck service can't start succesfully because of syntax error
[thirdparty/mdadm.git] / systemd / mdcheck_start.service
... / ...
CommitLineData
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]
9Description=MD array scrubbing
10Wants=mdcheck_continue.timer
11
12[Service]
13Type=oneshot
14Environment= "MDADM_CHECK_DURATION=6 hours"
15EnvironmentFile=-/run/sysconfig/mdadm
16ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
17ExecStart=/usr/share/mdadm/mdcheck --duration ${MDADM_CHECK_DURATION}