Controlling the daemon
How to interact with the XPipe daemon from the command-line
The XPipe Daemon
The XPipe daemon is the core component that handles all requests of the CLI and APIs.
The CLI executable therefore needs to communicate with the daemon to pass the commands that it should execute.
Any executed xpipe
command starts the daemon if it is not running yet.
In case the daemon needs to be started prior to executing a command, you will see something like this:
This one-time startup should only take a few seconds.
Commands
You can also control the daemon manually from the command-line. There are several commands to achieve this:
-
xpipe open: Starts the daemon if not running and opens the GUI. This can be useful when wanting to quickly launch the desktop application from the command-line.
-
xpipe daemon status: Reports the current status of the daemon. This can be useful when the daemon is running in the background to check whether it is indeed running.
-
xpipe daemon start: Starts the daemon manually. Can be useful to check if everything works.
-
xpipe daemon stop: Stops the daemon manually. Can be useful to restart the daemon in case it was started from a headless environment.
-
xpipe daemon mode: Changes the daemon operation mode. Can be useful to manually let the daemon run in the background.