LibreTranslate Reboot Fix #6
@@ -1,8 +1,8 @@
 | 
				
			|||||||
# Libreranslate Configuration
 | 
					# LibreTranslate Configuration
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Install
 | 
					## Install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
0. Copy `env.example` to `.env` and adjust the values as necessary.
 | 
					1. Copy `env.example` to `.env` and adjust the values as necessary.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
cd $DOCKER_HOME/Config/LibreTranslate
 | 
					cd $DOCKER_HOME/Config/LibreTranslate
 | 
				
			||||||
@@ -16,14 +16,14 @@ vi .env
 | 
				
			|||||||
./prep.sh
 | 
					./prep.sh
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2. If using  a temporary location for `models/` such as `/tmp/`, ensure
 | 
					1. If using  a temporary location for `models/` such as `/tmp/`, ensure
 | 
				
			||||||
that `prep.sh` is in `root`'s crontab.
 | 
					that `prep.sh` is in `root`'s crontab.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
@reboot /opt/Docker/Config/LibreTranslate/prep.sh
 | 
					@reboot /opt/Docker/Config/LibreTranslate/prep.sh
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
3. Start the container up as normal.
 | 
					1. Start the container up as normal.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
cp docker-compose.main.yml docker-compose.yml
 | 
					cp docker-compose.main.yml docker-compose.yml
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user