firefly-iii-data-importer: allow exit status 73 for no imports done
This commit is contained in:
@@ -89,6 +89,12 @@ in
|
|||||||
Group = config.services.firefly-iii-data-importer.group;
|
Group = config.services.firefly-iii-data-importer.group;
|
||||||
WorkingDirectory = config.services.firefly-iii-data-importer.package;
|
WorkingDirectory = config.services.firefly-iii-data-importer.package;
|
||||||
ExecStart = "${config.services.firefly-iii-data-importer.package}/artisan importer:import ${fidi.simplefinConfigPath}";
|
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.
|
# Same hardening posture as the upstream commonServiceConfig.
|
||||||
ReadWritePaths = [ fidi.dataDir ];
|
ReadWritePaths = [ fidi.dataDir ];
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user