|
root / base / usr / src / zyginit / services / resource-mgmt / service.toml
service.toml TOML 18 lines 621 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
# 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"