Skip to content

bifroest service remove

Removes an installed Bifröst service from the Windows Service Control Manager or macOS launchd. On macOS, configuration, state, keys, recordings and logs are preserved.

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.

--stop

bool = true

Stops the service before removing it on Windows. Use --stop=false to remove it without first stopping it. This flag is not available on macOS, where removing a LaunchDaemon always stops and unregisters it first.

Output

Removes the service registration. On macOS, configuration, state, keys, Recordings and logs are preserved. Errors are logged to stderr and return a nonzero exit status.

Examples

Remove an installed service

  1. Select the host where the service was installed and open an elevated terminal.
  2. On Windows, run:

    1
    bifroest service remove
    

    On macOS, run:

    1
    sudo bifroest service remove
    

Availability

linux darwin windows
/ / /

Invocation modes

Local CLI @target Direct SSH

Requires Administrator privileges on Windows and root privileges on macOS.