Service¶
See also: Command-line interface, GUI client, Instance
In Multipass, service refers to the Multipass server that clients connect to and that controls and manages Multipass instances. This can also be referred to as the daemon.
The Multipass daemon (multipassd
) runs in the background and processes the requests from the Multipass command-line interface and GUI client. The daemon is also in charge of the lifecycle of Multipass instances.
The separation between client (CLI or GUI) and daemon is a popular architecture because of its main advantage, that is, flexibility. For instance, the daemon process can be on a different machine from the client; see Use Multipass remotely for more details.
The automatic start of the daemon process is triggered right after the Multipass installation. After that, it is also set up to start automatically at system boot. This setup ensures that the Multipass client can immediately interact with the instances without the need to launch the daemon manually, and restores any persistent instances of Multipass after a system restart.