From d61433019daafc5d48a3eb0d1ec5d2c8bf48a6c5 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 6 May 2026 00:50:56 -0400 Subject: [PATCH] firefly-iii-data-importer: allow exit status 73 for no imports done --- services/firefly-iii-data-importer.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services/firefly-iii-data-importer.nix b/services/firefly-iii-data-importer.nix index 4c2a6d6..9703ce3 100644 --- a/services/firefly-iii-data-importer.nix +++ b/services/firefly-iii-data-importer.nix @@ -89,6 +89,12 @@ in Group = config.services.firefly-iii-data-importer.group; WorkingDirectory = config.services.firefly-iii-data-importer.package; ExecStart = "${config.services.firefly-iii-data-importer.package}/artisan importer:import ${fidi.simplefinConfigPath}"; + # The importer returns ExitCode 73 (NOTHING_WAS_IMPORTED) when SimpleFIN + # has zero new transactions for the requested window — a normal outcome + # on quiet days. Treat it as success so systemd doesn't mark the unit + # failed and trigger ntfy alerts. 73 is exclusively NOTHING_WAS_IMPORTED + # in this importer version (see app/Enums/ExitCode.php). + SuccessExitStatus = "73"; # Same hardening posture as the upstream commonServiceConfig. ReadWritePaths = [ fidi.dataDir ]; PrivateTmp = true;