Definition

Type: object

A wpm definition

Type: object or null

Remote resources used by this definition

Each additional property must conform to the following schema

Type: stringFormat: uri

Type: string or null

JSON Schema definition for auto completions

Type: object

Information about what this definition executes

Type: boolean

Autostart this definition with wpmd

Type: array of array or null

Environment variables inherited by all commands in this service definition

No Additional Items

Each item of this array must be:

Type: array

Must contain a minimum of 2 items

Must contain a maximum of 2 items

No Additional Items

Tuple Validation

Item at 1 must be:
Item at 2 must be:

Type: string or null

Path to an environment file, containing environment variables inherited by all commands in this service definition

Type: object

Command executed by this service definition

Type: array of string or null

Arguments passed to the executable

No Additional Items

Each item of this array must be:

Type: array of array or null

Environment variables for this command

No Additional Items

Each item of this array must be:

Type: array

Must contain a minimum of 2 items

Must contain a maximum of 2 items

No Additional Items

Tuple Validation

Item at 1 must be:
Item at 2 must be:

Type: string or null

Path to an environment file, containing environment variables for this command

Type: object

Executable (local file, remote file, or Scoop package)

Type: object

A remote executable file verified using a SHA256 hash

Type: string

Sha256 hash of the remote executable at

Type: stringFormat: uri

Url to a remote executable

Type: string

A local executable file

Type: object

An executable file with a Scoop package dependency

Type: object

Type: enum (of string)

Bucket that the package is found in

Must be one of:

  • "Main"
  • "Extras"

Type: string

Name of the package

Type: string or null

Target executable in the package

Type: string

Version of the package

Type: object

A Scoop package identified using a raw manifest

Type: stringFormat: uri

Url to a Scoop manifest

Type: string

Name of the package

Type: string or null

Target executable in the package

Type: string

Version of the package

Type: array or null

Commands executed after ExecStart in this service definition

No Additional Items

Each item of this array must be:

Type: object

A wpm definition command

Same definition as ExecStart

Type: array or null

Commands executed before ExecStart in this service definition

No Additional Items

Each item of this array must be:

Type: object

A wpm definition command

Same definition as ExecStart

Type: array or null

Shutdown commands for this service definition

No Additional Items

Each item of this array must be:

Type: object

A wpm definition command

Same definition as ExecStart

Type: array or null

Post-shutdown cleanup commands for this service definition

No Additional Items

Each item of this array must be:

Type: object

A wpm definition command

Same definition as ExecStart


Healthcheck for this service definition

Type: object

Type: object
No Additional Properties

Type: object

A service liveness healthcheck based on the successful exit code of a command

Type: array of string or null

Arguments passed to the executable

No Additional Items

Each item of this array must be:

Type: integerFormat: uint64

The number of seconds to delay before checking for liveness

Value must be greater or equal to 0.0

Type: array of array or null

Environment variables for this command

No Additional Items

Each item of this array must be:

Type: array

Must contain a minimum of 2 items

Must contain a maximum of 2 items

No Additional Items

Tuple Validation

Item at 1 must be:
Item at 2 must be:

Type: string

Executable name or absolute path to an executable

Type: integer or nullFormat: uint8

The maximum number of retries (default: 5)

Type: object
No Additional Properties

Type: object

A process liveness healthcheck either based on an automatic PID or an optional binary

Type: integerFormat: uint64

The number of seconds to delay before checking for liveness

Value must be greater or equal to 0.0

Type: string or null

An optional binary with which to check process liveness

Type: null

Type: enum (of string) Default: "Simple"

Type of service definition

Must be one of:

  • "Simple"
  • "Oneshot"
  • "Forking"

Type: enum (of string) Default: "Never"

Restart strategy for this service definition

Must be one of:

  • "Never"
  • "Always"
  • "OnFailure"

Type: integer or nullFormat: uint64

Time to sleep in seconds before attempting to restart service (default: 1s)

Type: string or null

Working directory for this service definition

Type: object

Information about this definition and its dependencies

Type: string or null

Description of this definition

Type: string

Name of this definition, must be unique

Type: array of string or null

Dependencies of this definition, validated at runtime

No Additional Items

Each item of this array must be:

Type: string