blob: bd243b44989b7487cba19b72d80d1013b363955d [file] [log] [blame]
Andrew Geissler99467da2019-02-25 18:54:23 -06001# 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=Software RAID monitoring and management
10ConditionPathExists=/etc/mdadm.conf
11
12[Service]
13Type=forking
14PIDFile=/var/run/mdadm/mdadm.pid
15EnvironmentFile=-/etc/sysconfig/mdmonitor
16ExecStart=/sbin/mdadm --monitor --scan -f --pid-file=/var/run/mdadm/mdadm.pid
17
18[Install]
19WantedBy=multi-user.target