Use doas instead of sudo
This commit is contained in:
parent
82c6b48c54
commit
39fc899b38
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user