From 39fc899b38c4b1319e464b316b4d42a700af5e40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferit=20Yi=C4=9Fit=20BALABAN?= Date: Sat, 15 Jan 2022 14:16:07 +0300 Subject: [PATCH] Use doas instead of sudo --- README.md | 6 +++--- launch_searx.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2a41628..5a726e3 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,11 @@ This repository contains scripts that I actively develop & use on my GNU/Linux m ### launch_searx.sh -create a cron job to execute this script. +create a cron job to execute this script on reboot. dependencies: - - sudo (i haven't tried it with doas yet) - - docker installation (do not use snap) + - doas + - docker installation (do not use snap to install) ### pi & piw diff --git a/launch_searx.sh b/launch_searx.sh index 7f1ce36..dc8e30d 100644 --- a/launch_searx.sh +++ b/launch_searx.sh @@ -1,4 +1,4 @@ #!/bin/bash export PORT=80 echo "starting searx on localhost:80" -sudo docker run --rm -d -v /home/ferit/searx:/etc/searx -p $PORT:8080 -e BASE_URL=http://localhost:$PORT/ searx/searx +doas docker run --rm -d -v /home/ferit/searx:/etc/searx -p $PORT:8080 -e BASE_URL=http://localhost:$PORT/ searx/searx