From d52c4d6003adced1f6763261a7f9132719be5533 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Fri, 13 Feb 2026 11:37:58 -0800 Subject: feat: add autostart and pid management to daemon (#3180) --- crates/atuin-client/config.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'crates/atuin-client/config.toml') diff --git a/crates/atuin-client/config.toml b/crates/atuin-client/config.toml index 03e093fc..6e67a4e1 100644 --- a/crates/atuin-client/config.toml +++ b/crates/atuin-client/config.toml @@ -259,9 +259,13 @@ records = true # strategy = "auto" [daemon] -## Enables using the daemon to sync. Requires the daemon to be running in the background. Start it with `atuin daemon` +## Enables using the daemon to sync. # enabled = false +## Automatically start and manage the daemon when needed. +## Not compatible with `systemd_socket = true`. +# autostart = false + ## How often the daemon should sync in seconds # sync_frequency = 300 @@ -270,6 +274,10 @@ records = true ## windows: Not Supported # socket_path = "~/.local/share/atuin/atuin.sock" +## The daemon pidfile used for lifecycle management. +## Defaults to the Atuin data directory. +# pidfile_path = "~/.local/share/atuin/atuin-daemon.pid" + ## Use systemd socket activation rather than opening the given path (the path must still be correct for the client) ## linux: false ## mac/windows: Not Supported -- cgit v1.3.1