reboot

fun reboot()

Reboot 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).