alpacon server reboot
This command reboots the operating system of a specified server through its agent. By default it asks for confirmation before proceeding. If the server has active user work (an open Websh or WebFTP session, or an in-flight command), the reboot is refused unless you pass --force.
alpacon server reboot SERVER [flags]
Options
-y, --yes Skip confirmation prompt
--force Override the busy guard even when the server has active user work
-h, --help help for reboot
Examples
Reboot a server by name:
alpacon server reboot my-server
Skip the confirmation prompt:
alpacon server reboot my-server -y
Reboot even when the server has active user work:
alpacon server reboot my-server --force
Once the request is accepted, run alpacon events to monitor progress.