Skip to content

bifroest serve

Starts Bifröst with the selected configuration and runs until the process receives a termination signal. On Windows, the command also acts as the service entry point when launched by the Service Control Manager.

1
bifroest serve

Syntax

bifroest serve [flags]

run is an alias of serve.

Arguments

None.

Flags

Includes all general flags.

--configuration

-cFile Path<Configuration> = "<os specific>"

Configuration file to load.

The default depends on the platform:

  • Linux: /etc/engity/bifroest/configuration.yaml
  • macOS: /Library/Application Support/Engity/Bifroest/configuration.yaml
  • Windows: C:\ProgramData\Engity\Bifroest\configuration.yaml

--serviceName

string = "engity-bifroest"

Windows only. Name registered with SCM; supplied by service install.

Output

Logs are written to stderr. Startup failure returns a nonzero exit status. An interrupt requests shutdown.

Examples

Start a configured server

  1. Prepare a valid host configuration, or the two-flow configuration from the management guide.
  2. Run Bifröst as the intended service user with the required host permissions:

    1
    bifroest serve --configuration /etc/engity/bifroest/configuration.yaml
    

    For an installed system service, use its service manager instead of starting a second process on the same address and repositories.

Availability

linux darwin windows
/ / /

Invocation modes

Local CLI @target Direct SSH

For installation and control through the platform service manager, see service.