feat: use sd_notify for watchdog and status notification
1 file changed, 3 insertions(+), 0 deletions(-)
changed files
M nix/modules/default.nix → nix/modules/default.nix
@@ -23,6 +23,9 @@ Group = cfg.group; ReadWritePaths = [ cfg.homeDir ]; StateDirectory = mkIf (cfg.homeDir == "/var/lib/searchix") [ "searchix" ]; Restart = "on-failure"; + Type = "notify"; + NotifyAccess = "main"; + WatchdogSec = "60"; CacheDirectory = "searchix"; CapabilityBoundingSet = "";