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 SdNotify

func SdNotify(state string) error

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

Source Files

listendfd.go sd_notify.go

Directories

PathSynopsis
pkg/systemd/activation
Version
v0.8.1
Published
Feb 18, 2014
Platform
js/wasm
Imports
5 packages
Last checked
2 minutes ago

Tools for package owners.