Emitter: Send e-mail only on repeated backup fails
This commit is contained in:
		
							parent
							
								
									2a4dce6e02
								
							
						
					
					
						commit
						d0d2f1f64e
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue