Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetListenerFromEnvironment ¶
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.
Click to show internal directories.
Click to hide internal directories.