mirror of
https://github.com/atuinsh/atuin.git
synced 2026-10-12 02:11:09 +00:00
1012 B
1012 B
daemon
atuin daemon
The Atuin daemon is a background daemon designed to
- Speed up database writes
- Allow machines to sync when not in use, so they're ready to go right away
- Provide a hot in-memory fuzzy searcher
- Store captured command output
- Perform background maintenance
It may also work around issues with ZFS/SQLite performance.
To enable
Add the following to the bottom of your Atuin config file
[daemon]
enabled = true
autostart = true
With autostart = true, the CLI will automatically start and manage a local daemon for history hook calls.
If you use systemd socket activation, keep autostart = false.
If a legacy experimental daemon is already running, autostart can't upgrade it in-place. Restart the daemon manually once.
If you prefer running the daemon yourself (for example via systemd/tmux), keep autostart = false and run atuin daemon.
Extra config
See the config section