define

package
v4.6.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Default restart policy for generated unit files.
	DefaultRestartPolicy = "on-failure"

	// EnvVariable "PODMAN_SYSTEMD_UNIT" is set in all generated systemd units and
	// is set to the unit's (unique) name.
	EnvVariable = "PODMAN_SYSTEMD_UNIT"
)

Variables

View Source
var RestartPolicies = []string{"no", "on-success", "on-failure", "on-abnormal", "on-watchdog", "on-abort", "always"}

RestartPolicies includes all valid restart policies to be used in a unit file.

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