From cc6a5f35828a9cbe7fcc5878308eafaa275dcfe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 18 Nov 2024 13:52:28 +0100 Subject: [PATCH] nixos/searx: don't delete /run/searx/ on init service restarts --- nixos/modules/services/networking/searx.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/networking/searx.nix b/nixos/modules/services/networking/searx.nix index 759af91c9aa224..420a63047bebf0 100644 --- a/nixos/modules/services/networking/searx.nix +++ b/nixos/modules/services/networking/searx.nix @@ -269,6 +269,7 @@ in User = "searx"; RuntimeDirectory = "searx"; RuntimeDirectoryMode = "750"; + RuntimeDirectoryPreserve = "yes"; } // optionalAttrs (cfg.environmentFile != null) { EnvironmentFile = cfg.environmentFile; };