process

package
v0.0.0-...-0677d28 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNginxRunning

func IsNginxRunning() bool

IsNginxRunning returns true if a process with the name 'nginx' is found

func IsRespawnIfRequired

func IsRespawnIfRequired(err error) bool

IsRespawnIfRequired checks if error type is exec.ExitError or not

func WaitUntilPortIsAvailable

func WaitUntilPortIsAvailable(port int)

WaitUntilPortIsAvailable waits until there is no NGINX master or worker process/es listening in a particular port.

Types

This section is empty.

Jump to

Keyboard shortcuts

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