From 276f88394a2ffd55d0ef5774619566d806016b94 Mon Sep 17 00:00:00 2001 From: Chebro <54331348+chebro@users.noreply.github.com> Date: Mon, 28 Jun 2021 21:11:12 +0530 Subject: [PATCH] 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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ea1a763..2ad8df5 100644 --- a/README.md +++ b/README.md @@ -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```