mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
utils/searx.sh: add script to install isolated searx service (WIP)
WIP: written from scratch / linted but untested Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
58a9fa93f6
commit
3cf31528f3
4 changed files with 532 additions and 7 deletions
|
|
@ -192,7 +192,8 @@ assert_user() {
|
|||
rst_title "user $SERVICE_USER" section
|
||||
echo
|
||||
tee_stderr 1 <<EOF | bash | prefix_stdout
|
||||
sudo -H adduser --shell /bin/bash --system --home $SERVICE_HOME --group --gecos 'Filtron' $SERVICE_USER
|
||||
sudo -H adduser --shell /bin/bash --system --home $SERVICE_HOME \
|
||||
--disabled-password --group --gecos 'Filtron' $SERVICE_USER
|
||||
sudo -H usermod -a -G shadow $SERVICE_USER
|
||||
groups $SERVICE_USER
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue