fix: move source env call so that all settings can be overridden
This commit is contained in:
		
					parent
					
						
							
								d1e0e55895
							
						
					
				
			
			
				commit
				
					
						d34b47e705
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -17,8 +17,6 @@ RETENTION_WEEKS=4
 | 
			
		|||
RETENTION_MONTHS=3
 | 
			
		||||
RETENTION_YEARS=1
 | 
			
		||||
 | 
			
		||||
source /etc/restic/env
 | 
			
		||||
 | 
			
		||||
# Paths to binaries
 | 
			
		||||
CURL="/usr/bin/curl"
 | 
			
		||||
FIND="/usr/bin/find"
 | 
			
		||||
| 
						 | 
				
			
			@ -27,6 +25,8 @@ ECHO="/usr/bin/echo"
 | 
			
		|||
 | 
			
		||||
HOST=$(hostname -s)
 | 
			
		||||
 | 
			
		||||
source /etc/restic/env
 | 
			
		||||
 | 
			
		||||
# define functions
 | 
			
		||||
timestamp () {
 | 
			
		||||
   date "+%Y-%m-%d %H:%M:%S"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue