refactor(linux-client): rename daemon subcommand to ipc-service (#4656)

Closes #4655

This should be more clear since "daemon", like "tunnel", could mean a
variety of things. The IPC thing is the distinct part for this
subcommand, and I didn't want to call it "server" and confuse it with a
web server. "service" hopefully evokes "systemd service" and "Windows
service", something that provides a service locally.

If not it could always be something longer
This commit is contained in:
Reactor Scram
2024-04-17 15:25:53 -05:00
committed by GitHub
parent 5faf51f890
commit 76ec266af4
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ impl Cli {
#[derive(clap::Subcommand, Clone, Copy)]
enum Cmd {
/// Listen for IPC connections and act as a privileged tunnel process for a GUI client
Daemon,
IpcService,
/// Act as a CLI-only Client, don't listen for IPC connections
Standalone,
}

View File

@@ -29,7 +29,7 @@ pub async fn run() -> Result<()> {
setup_global_subscriber(layer);
match cli.command() {
Cmd::Daemon => run_daemon(cli).await,
Cmd::IpcService => run_daemon(cli).await,
Cmd::Standalone => run_standalone(cli).await,
}
}