add the --syslog option while executing mdadm --scan command in mdmonitor.service
This commit is contained in:
parent
876f4004f9
commit
865dfc2588
@ -12,7 +12,7 @@ DefaultDependencies=no
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/mdadm/mdadm.pid
|
||||
Environment= MDADM_MONITOR_ARGS=--scan
|
||||
Environment= MDADM_MONITOR_ARGS="--scan --syslog"
|
||||
EnvironmentFile=-/etc/sysconfig/mdadm
|
||||
ExecStart=/sbin/mdadm --monitor $MDADM_MONITOR_ARGS -f --pid-file=/var/run/mdadm/mdadm.pid
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user