]> code.ossystems Code Review - openembedded-core.git/commit
mdadm: fix systemd service start up failure
authorChangqing Li <changqing.li@windriver.com>
Mon, 24 Jun 2019 08:08:40 +0000 (16:08 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Jun 2019 10:14:02 +0000 (11:14 +0100)
commitd18c937918ec3553cb98743088a37ff080af2491
tree166e48aaaebbaa412ade546616c561f3d6cf593f
parent116e876ffdb32d107271bb35e15a5ad951f64f65
mdadm: fix systemd service start up failure

1. mdadm: No mail address or alert command - not monitoring

fixed by use option -y to cause all events to be reported
through 'syslog'.

2. cannot create pid file: No such file or directory

fix by create dir before starting.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/mdadm/files/mdmonitor.service