package systemd

import "github.com/docker/docker/pkg/systemd"

Index

Variables

var SdNotifyNoSocket = errors.New("No socket")

Functions

func ListenFD

func ListenFD(addr string) ([]net.Listener, error)

ListenFD returns the specified socket activated files as a slice of net.Listeners or all of the activated files if "*" is given.

func SdBooted

func SdBooted() bool

Conversion to Go of systemd's sd_booted()

func SdNotify

func SdNotify(state string) error

Send a message to the init daemon. It is common to ignore the error.

Source Files

booted.go listendfd.go sd_notify.go

Version
v1.8.2-rc1
Published
Sep 3, 2015
Platform
js/wasm
Imports
5 packages
Last checked
6 seconds ago

Tools for package owners.