aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-client/config.toml
diff options
context:
space:
mode:
authorNemo157 <git@nemo157.com>2024-05-25 14:03:55 +0200
committerGitHub <noreply@github.com>2024-05-25 13:03:55 +0100
commit2e88321aecfd1c4a7fa69a1794ecdf34a401c358 (patch)
tree8301dc4832325a4700409aaa8a86cefb5d824437 /crates/atuin-client/config.toml
parentperf: only open the database for commands if strictly required (#2043) (diff)
downloadatuin-2e88321aecfd1c4a7fa69a1794ecdf34a401c358.zip
feat: support systemd socket activation for daemon (#2039)
This avoids issues with clients attempting to connect to the daemon while it's starting, systemd creates the socket early and will queue connections up until the daemon is ready to accept them.
Diffstat (limited to 'crates/atuin-client/config.toml')
-rw-r--r--crates/atuin-client/config.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/atuin-client/config.toml b/crates/atuin-client/config.toml
index 49e06c45..4938991a 100644
--- a/crates/atuin-client/config.toml
+++ b/crates/atuin-client/config.toml
@@ -223,5 +223,10 @@ records = true
## windows: Not Supported
# socket_path = "~/.local/share/atuin/atuin.sock"
+## 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
+# systemd_socket = false
+
## The port that should be used for TCP on non unix systems
# tcp_port = 8889