service

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package service implements `dockercmd --install-service` and friends: it installs Docker Commander as a background service for the current OS so the monitor, alert engine and metric history keep running without a browser.

Linux installs the hardened systemd unit (the same one in deploy/, embedded here and kept identical by a test); macOS installs a per-user launchd LaunchAgent. Windows is not supported here yet — use deploy/install-windows.ps1.

The OS-specific Install/Uninstall/Status live in service_{linux,darwin}.go; this file holds the embedded templates and small shared helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(io.Writer) error

func Status

func Status(io.Writer) error

func Uninstall

func Uninstall(io.Writer) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL