Use doas instead of sudo

This commit is contained in:
Ferit Yiğit BALABAN 2022-01-15 14:16:07 +03:00
parent 82c6b48c54
commit 39fc899b38
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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