|
root / services / hammerhead / ipmgmtd.toml
ipmgmtd.toml TOML 28 lines 708 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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"]