Emitter: Send e-mail only on repeated backup fails
This commit is contained in:
parent
2a4dce6e02
commit
d0d2f1f64e
|
@ -131,7 +131,11 @@
|
|||
};
|
||||
serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
|
||||
RestartSec = retryDelay;
|
||||
# Skip transitions through failed state, i.e. don’t send a e-mail
|
||||
# before the maximum number of retries is exhausted
|
||||
RestartMode = "direct";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue