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
pull/2/head
Chebro 3 years ago committed by GitHub
parent d4e4f30de8
commit 276f88394a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,7 +21,7 @@ cd /usr/local
git clone https://github.com/searx/searx-docker.git
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
- Check everything is working: ```./start.sh```,
- ```cp searx-docker.service.template searx-docker.service```

Loading…
Cancel
Save