mdadm/systemd
NeilBrown 61c0947158 Add mdmonitor.service systemd unit file.
This systemd unit file runs mdadm in --monitor mode.
It is started by a SYSTEMD_WANTS signal from udev whenever
an md array is started that would benefit from mdadm --monitor.

Commandline arguments can be provided by a script
  /usr/lib/systemd/scripts/mdadm_env.sh
which should write an
  MDADM_MONITOR_ARGS=....
line to /run/sysconfig/mdadm

A script to extra args from SUSE's /etc/sysconfig/mdadm file
is provided.
If no mdadm_env.sh is provided, then args are "--scan" which
requires "mail" or "program" to be set in /etc/mdadm.conf.
I believe this is suitable for Fedora.

Signed-off-by: NeilBrown <neilb@suse.de>
2013-12-11 10:47:54 +11:00
..
SUSE-mdadm_env.sh Add mdmonitor.service systemd unit file. 2013-12-11 10:47:54 +11:00
mdadm-last-resort@.service Systemd integration for starting newly-degraded arrays. 2013-12-02 16:08:04 +11:00
mdadm-last-resort@.timer Systemd integration for starting newly-degraded arrays. 2013-12-02 16:08:04 +11:00
mdmon@.service mdmon: add --foreground option 2013-02-05 15:57:09 +11:00
mdmonitor.service Add mdmonitor.service systemd unit file. 2013-12-11 10:47:54 +11:00