Skip to content

Command Line Reference

Gufo Thor is managed via gufo-thor command.

Show Version

To show Gufo Thor version use:

gufo-thor version

Generate Sample Config

To generate sample config use:

gufo-thor sample-config -t <config_name>

where <config_name> is the name of the template. Refer to the Configuration Templates for details.

Prepare

To generate all necessary configs without launching NOC use

gufo-thor prepare

Running NOC

To run NOC use:

gufo-thor up

Note

This command performs prepare automatically.

Stopping NOC

To stop NOC use:

gufo-thor stop

Restarting Process

To restart NOC process use:

gufo-thor restart <process name>

Example:

gufo-thor restart web

Running Shell

To run NOC shell use:

gufo-thor shell

Show Stats

To show NOC processes' statistics use:

gufo-thor stats

Show Process' Logs

To show NOC process' logs use:

gufo-thor logs <process name>

Example:

gufo-thor logs web

To use logs in follow mode:

gufo-thor logs -f <process name>

Destroying Installation

To destroy installation and free resources:

gufo-thor destroy