# Fault Management Daemon
#
# Receives fault telemetry (ereports) from the kernel and runs
# diagnosis engines for CPU, disk, memory, and ZFS faults.
# Manages the Fault Management Resource Identifier (FMRI) database.

[service]
name = "fmd"
description = "Fault Management Daemon"
type = "daemon"

[exec]
start = "/usr/lib/fm/fmd/fmd"

[stop]
method = "contract"
signal = "TERM"
timeout = 30

[dependencies]
requires = ["filesystem", "devfsadm"]
after = ["syslog"]

[contract]
param = ["inherit", "noorphan"]
fatal = ["empty", "hwerr"]

[restart]
on = "failure"
delay = 5
max_retries = 3
