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;