mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update nginxproxymanager.sh
Python interpreter will include packages installed in the global site-packages.
This commit is contained in:
		
							parent
							
								
									322de1f407
								
							
						
					
					
						commit
						d0ccf41b59
					
				| 
						 | 
					@ -164,6 +164,7 @@ EOF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  msg_info "Starting Services"
 | 
					  msg_info "Starting Services"
 | 
				
			||||||
  sed -i -e 's/^pid/#pid/' -e 's/npmuser/root/' /usr/local/openresty/nginx/conf/nginx.conf
 | 
					  sed -i -e 's/^pid/#pid/' -e 's/npmuser/root/' /usr/local/openresty/nginx/conf/nginx.conf
 | 
				
			||||||
 | 
					  sed -i 's/include-system-site-packages = false/include-system-site-packages = true/g' /opt/certbot/pyvenv.cfg
 | 
				
			||||||
  systemctl enable npm &>/dev/null
 | 
					  systemctl enable npm &>/dev/null
 | 
				
			||||||
  systemctl start openresty
 | 
					  systemctl start openresty
 | 
				
			||||||
  systemctl start npm
 | 
					  systemctl start npm
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue