searxng/docs/utils/morty.sh.rst
Markus Heiser dd53c45a2c docs: add utils/lxc.sh docs, normalize filtron, morty & searx docs
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-30 18:47:01 +02:00

1.2 KiB

utils/morty.sh

further reading

  • installation
  • architecture

To simplify installation and maintenance of a morty instance you can use the script utils/morty.sh. In most cases you will install morty simply by running the command:

sudo -H ./utils/morty.sh install all

The script adds a ${SERVICE_USER} (default:morty) and installs morty into this user account:

  1. Create a separated user account (morty).
  2. Download and install Go binary in user's $HOME (~morty).
  3. Install morty with the package management from Go (go get -v -u github.com/asciimoo/morty)
  4. Setup a systemd service unit [ref] <utils/templates/lib/systemd/system/morty.service> (/lib/systemd/system/morty.service).

Hint

To add morty to your searx instance read chapter searx morty.

Overview

The --help output of the script is largely self-explanatory (toolboxing common):

../utils/morty.sh --help