# ipmgmtd — IP interface management daemon
#
# Runs in `-f` (foreground) mode, the ipmgmtd analogue of dlmgmtd's `-d`:
# skips the daemonize fork AND the SMF_FMRI startup gate. Door at
# /etc/svc/volatile/ipadm/ipmgmt_door is still created identically;
# libipadm (used by ifconfig <link> inet ADDR up and ipadm) connects
# transparently. zyginit's contract tracks one PID, no parent-exit dance.

[service]
name = "ipmgmtd"
description = "IP interface management daemon (foreground)"
type = "daemon"

[exec]
start = "/lib/inet/ipmgmtd -f"

[dependencies]
requires = ["filesystem", "dlmgmtd"]

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

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