# Resource management oneshot: enables the pools subsystem, commits
# /etc/pooladm.conf if present, and applies global-zone resource
# controls. Folds /lib/svc/manifest/system/pools.xml and
# /lib/svc/manifest/system/resource-mgmt.xml into one boot-time step.
#
# rcapd (resource capping daemon) is its own service — see rcapd.toml.
[service]
name = "resource-mgmt"
description = "Resource pools and global-zone controls"
type = "oneshot"
[exec]
start = "/etc/zyginit/services/resource-mgmt/start.sh"
stop  = "/etc/zyginit/services/resource-mgmt/stop.sh"
[dependencies]
requires = ["filesystem"]
[restart]
on = "never"
