From 2e88321aecfd1c4a7fa69a1794ecdf34a401c358 Mon Sep 17 00:00:00 2001 From: Nemo157 Date: Sat, 25 May 2024 14:03:55 +0200 Subject: 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. --- crates/atuin-client/config.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crates/atuin-client/config.toml') 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 -- cgit v1.3.1