smeserver-base/root/usr/lib/systemd/system/mdmonitor.service.d/50koozali.conf

12 lines
335 B
Plaintext

[Service]
#this one to erase previous
ExecStart=
#Koozali
ExecStartPre=/sbin/e-smith/service-status raidmonitor
ExecStartPre=/sbin/e-smith/systemd/mdmonitor-pre
ExecStart=/sbin/mdadm --monitor --scan --program /sbin/e-smith/mdevent -f --pid-file=/var/run/mdadm/mdadm.pid
[Install]
Alias=raidmonitor.service
WantedBy=sme-server.target