]> git.ipfire.org Git - thirdparty/mdadm.git/blame - systemd/mdmonitor-oneshot.service
imsm: support RAID 10 with more than 4 drives
[thirdparty/mdadm.git] / systemd / mdmonitor-oneshot.service
CommitLineData
7cd7e91a
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]
9Description=Reminder for degraded MD arrays
ea109700 10Documentation=man:mdadm(8)
7cd7e91a
N
11
12[Service]
fd38b8ea 13Environment=MDADM_MONITOR_ARGS=--scan
7cd7e91a
N
14EnvironmentFile=-/run/sysconfig/mdadm
15ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
16ExecStart=BINDIR/mdadm --monitor --oneshot $MDADM_MONITOR_ARGS