process

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: LGPL-3.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