Tested and fixed HTTP & uWSGI installation on: ubu1604 ubu1804 ubu1910 ubu2004 fedora31 archlinux Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1.4 KiB
Tooling box utils/*
In the folder utils/
we maintain some tools useful for admins and developers.
searx.sh filtron.sh morty.sh lxc.sh
Common commands & environment
Scripts to maintain services often dispose of common commands and environments.
shell
: commandOpens a shell from the service user
${SERVICE_USSR}
, very helpful for troubleshooting.inspect service
: commandShows status and log of the service, most often you have a option to enable more verbose debug logs. Very helpful for debugging, but be careful not to enable debugging in a production environment!
FORCE_TIMEOUT
: environmentSets timeout for interactive prompts. If you want to run a script in batch job, with defaults choices, set
FORCE_TIMEOUT=0
. By example; to install a reverse proxy for filtron on all containers of thesearx suite <lxc-searx.env>
use :sudo -H ./utils/lxc.sh cmd -- FORCE_TIMEOUT=0 ./utils/filtron.sh apache install
Tooling box setup
The main setup is done in the .config.sh
(read also makefile
setup
).
../../.config.sh