mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	enable-or-disable.yml: Avoid NGINX symlink /library/www/html/calibre-web
This commit is contained in:
		
							parent
							
								
									95866394ea
								
							
						
					
					
						commit
						a6bafe833a
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -27,7 +27,8 @@
 | 
				
			||||||
  shell: |
 | 
					  shell: |
 | 
				
			||||||
    if [ -f {{ calibreweb_venv_path }}/scripts/calibre-web-nginx.conf ]; then
 | 
					    if [ -f {{ calibreweb_venv_path }}/scripts/calibre-web-nginx.conf ]; then
 | 
				
			||||||
        cat {{ calibreweb_venv_path }}/scripts/calibre-web-nginx.conf >> {{ nginx_conf_dir }}/calibre-web-nginx.conf
 | 
					        cat {{ calibreweb_venv_path }}/scripts/calibre-web-nginx.conf >> {{ nginx_conf_dir }}/calibre-web-nginx.conf
 | 
				
			||||||
        ln -sf {{ calibreweb_home }} {{ doc_root }}/calibre-web
 | 
					        # 2023-12-05: Not needed as a result of PR iiab/calibre-web#57
 | 
				
			||||||
 | 
					        # ln -sf {{ calibreweb_home }} {{ doc_root }}/calibre-web
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
  when: calibreweb_enabled
 | 
					  when: calibreweb_enabled
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue