Fix how pip runs for backup-everything script
i.e. be sure to run as rattail user, or whatever the app uses
This commit is contained in:
		
							parent
							
								
									fa2f7dfcbd
								
							
						
					
					
						commit
						0abb0720a5
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -14,8 +14,7 @@ fi | |||
| 
 | ||||
| 
 | ||||
| RATTAIL="/srv/envs/${envname}/bin/rattail --config=$CONFIG $PROGRESS" | ||||
| PIP=/srv/envs/${envname}/bin/pip | ||||
| export PIP_CONFIG_FILE=/srv/envs/${envname}/pip.conf | ||||
| PIP="sudo -u ${user} PIP_CONFIG_FILE=/srv/envs/${envname}/pip.conf /srv/envs/${envname}/bin/pip" | ||||
| 
 | ||||
| # upgrade pip | ||||
| $PIP install $QUIET --upgrade pip | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar