Emitter: Send e-mail only on repeated backup fails

This commit is contained in:
fruchti 2024-04-27 14:35:50 +02:00
parent 2a4dce6e02
commit d0d2f1f64e

View file

@ -131,7 +131,11 @@
};
serviceConfig = {
Restart = "on-failure";
RestartSec = retryDelay;
# Skip transitions through failed state, i.e. dont send a e-mail
# before the maximum number of retries is exhausted
RestartMode = "direct";
};
};