bifroest service install
Installs Bifröst as an automatically started Windows service or macOS LaunchDaemon. On macOS, Bifröst copies its current executable to /Library/PrivilegedHelperTools/com.engity.bifroest and creates /Library/LaunchDaemons/com.engity.bifroest.plist directly from the CLI.
1 | |
Syntax
Arguments
None.
Flags
Includes all general flags.
--serviceName
string = "engity-bifroest"
Name of the service on Windows. This flag is not available on macOS, where the fixed LaunchDaemon label is com.engity.bifroest.
--displayName
string = "Engity's Bifröst"
Display name in Windows service listings. Unavailable on macOS.
--configuration
-cFile Path<Configuration> = "<os specific>"
Configuration file used by the installed service. On macOS, the file must be below /Library/Application Support/Engity/Bifroest, owned by root:wheel, have no ACL and use permissions no broader than 0640. The macOS default is /Library/Application Support/Engity/Bifroest/configuration.yaml.
The Windows default is C:\ProgramData\Engity\Bifroest\configuration.yaml.
--start
bool = true
Starts the service immediately after installation. Use --start=false to install it without starting it. The default behavior is equivalent to subsequently calling bifroest service start.
--watch
off | preserve | reconnect | reuse = "off"
Stores the selected watch mode in the Windows SCM command line or macOS LaunchDaemon arguments. A bare flag selects preserve. false, no and 0 disable watching. Reinstalling without this flag disables watching; it is not a Bifröst YAML setting.
Output
Registers the platform service and, by default, starts it. Errors are logged to stderr and return a nonzero exit status. There is no structured --format output.
Examples
Install on Windows before starting
- Prepare the Windows host configuration.
-
In an elevated PowerShell terminal, install without immediate startup:
1bifroest service install --configuration "C:\ProgramData\Engity\Bifroest\configuration.yaml" --start=false -
Start the installed service:
1bifroest service start
Install a macOS LaunchDaemon
- Prepare the protected configuration described in macOS host installation.
-
Install and start the daemon:
1sudo ./bifroest service install
Availability
| Linux | macOS | Windows |
|---|---|---|
| / | / | / |
Invocation modes
| Local CLI | @target |
Direct SSH |
|---|---|---|
Requires an elevated Administrator terminal on Windows and root privileges on macOS.