systemd

package
v1.0.36 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 License: BSD-3-Clause, BSD-3-Clause Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetListenerFromEnvironment

func GetListenerFromEnvironment() (net.Listener, error)

If the service has been started via socket activation, with a socket already open in the environment, return that socket. Otherwise return (nil, nil). Currently only implemented for systemd on Linux.

func IsRunningSystemd

func IsRunningSystemd() bool

func IsSocketActivated

func IsSocketActivated() bool

NOTE: We no longer configure our keybse.service and kbfs.service units to be socket-activated by default. It was causing too much trouble when non-systemd instances deleted the socket files. It's possible this issue will get fixed in future versions of systemd; see https://github.com/systemd/systemd/issues/7274.

func NotifyStartupFinished

func NotifyStartupFinished()

Types

This section is empty.

Jump to

Keyboard shortcuts

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