Next: /environ, Previous: /alive, Up: Control API [Contents][Index]
This URI is active when pies
runs as init process
(see Init Process). It supports two requests:
Returns the current state of the program as a JSON object with the following attributes:
Current runlevel. See Runlevels.
Previous runlevel (‘N’ if none).
Boot state. See startup states.
Default runlevel.
Initiates transition from the current runlevel to runlevel L (see Runlevels).