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 | |
Syntax
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
--watch
off | preserve | reconnect | reuse = "off"
Watches the selected configuration file. A bare --watch means --watch=preserve; without the flag, watching stays off. false, no and 0 are aliases for off; true means preserve.
preserve retains existing connections on their admitted configuration. reconnect closes connections of flows with relevant changes. reuse preserves connections and additionally permits more existing sessions to be reused after fresh authentication and target/credential checks. Known presentation-only changes do not invalidate browser grants or force reconnection in any mode. Invalid or unsupported candidates are rejected as a whole. See the mode definitions, supported scope and monitoring.
--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
- Prepare a valid host configuration, or the two-flow configuration from the management guide.
-
Run Bifröst as the intended service user with the required host permissions:
1bifroest serve --configuration /etc/engity/bifroest/configuration.yamlFor an installed system service, use its service manager instead of starting a second process on the same address and repositories.
Opt into live reload
1 | |
The flag also works with run and can be persisted through service install. It is an invocation option, not a Bifröst YAML property.
Availability
| Linux | macOS | Windows |
|---|---|---|
| / | / | / |
Invocation modes
| Local CLI | @target |
Direct SSH |
|---|---|---|
For installation and control through the platform service manager, see service.