searx installer: remove whitespaces
This commit is contained in:
parent
1ba4974925
commit
aac374f505
1 changed files with 2 additions and 2 deletions
|
|
@ -10,9 +10,9 @@ systemctl start docker
|
|||
cd /usr/local/
|
||||
git clone https://github.com/searx/searx-docker.git
|
||||
cd searx-docker/
|
||||
sed -i "/SEARX_HOSTNAME/ s/^#//" .env
|
||||
sed -iE "/SEARX_HOSTNAME/ s/^#\s*//" .env
|
||||
sed -i "/SEARX_HOSTNAME/ s/=.*/=searx.codehal.de/" .env
|
||||
sed -i "/LETSENCRYPT_EMAIL/ s/^#//" .env
|
||||
sed -iE "/LETSENCRYPT_EMAIL/ s/^#\s*//" .env
|
||||
sed -i "/LETSENCRYPT_EMAIL/ s/=.*/=webmaster@codehal.de/" .env
|
||||
key=$(openssl rand -hex 22)
|
||||
sed -i "/MORTY_KEY/ s/=.*/=$key/" .env
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue