powerOff

fun powerOff()

Powers off the whole node, including the agent. Processes the AgentPowerOffCommand.

Requires root permissions.

The agent will not restart unless set up as a system service (systemd).