AgentPowerOffCommand

data class AgentPowerOffCommand(val reboot: Boolean = false) : AgentCommand

Power off (reboot=false, default) or reboot (reboot=true) the whole node, including the agent.

Requires root permissions.

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

Constructors

Link copied to clipboard
constructor(reboot: Boolean = false)

Properties

Link copied to clipboard
val reboot: Boolean = false

Functions

Link copied to clipboard
open override fun toString(): String