runner

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidPidFile = fmt.Errorf("malformed pid file")
View Source
var ErrNoPidFile = fmt.Errorf("no pid file")
View Source
var ErrNoProcess = fmt.Errorf("process not found by pid")

Functions

func Restart

func Restart(conf *service.Service) error

Restart calls Stop, ignoring any failure, and then Start, returning any failure

func Start

func Start(conf *service.Service) error

Start will execute the service, and write the PID and logs out to the log directory

func Stop

func Stop(conf *service.Service) error

Stop will find and stop another serviceman runner instance by it's PID

Types

This section is empty.

Jump to

Keyboard shortcuts

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