process

package
v0.0.0-...-306ed92 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 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 listentning 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