signals

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0

Index

Constants

View Source
const (
	// NotificationStr string representation for signal used to send notification. Used for Docker.
	NotificationStr = "SIGUSR1"
	GracefulStopStr = "SIGUSR2"
	// GracefulShutdownStr is not a real POSIX signal, it's a custom signal we use when we detect a host shutdown
	GracefulShutdownStr = "SHUTDOWN"
)
View Source
const (
	// Notification signal is used to send notification. Used for Linux ctl verbose mode notifier.
	Notification = syscall.SIGUSR1
	// GracefulStop signal is used to gracefully stop, we use SIGTSTP as SIGSTOP can not be handled.
	GracefulStop = syscall.SIGUSR2
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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