Replace sed separator with pipe (#96)
- base64 random key may contain the `/` character, which conflicts with the sed separator, using `|` as the separator fixes it
This commit is contained in:
parent
d4e4f30de8
commit
276f88394a
|
@ -21,7 +21,7 @@ cd /usr/local
|
||||||
git clone https://github.com/searx/searx-docker.git
|
git clone https://github.com/searx/searx-docker.git
|
||||||
cd searx-docker
|
cd searx-docker
|
||||||
```
|
```
|
||||||
- Generate MORTY_KEY ```sed -i "s/ReplaceWithARealKey\!/$(openssl rand -base64 33)/g" .env```
|
- Generate MORTY_KEY ```sed -i "s|ReplaceWithARealKey\!|$(openssl rand -base64 33)|g" .env```
|
||||||
- Edit the other settings in [.env](https://github.com/searx/searx-docker/blob/master/.env) file according to your need
|
- Edit the other settings in [.env](https://github.com/searx/searx-docker/blob/master/.env) file according to your need
|
||||||
- Check everything is working: ```./start.sh```,
|
- Check everything is working: ```./start.sh```,
|
||||||
- ```cp searx-docker.service.template searx-docker.service```
|
- ```cp searx-docker.service.template searx-docker.service```
|
||||||
|
|
Loading…
Reference in New Issue