systemd

package
v0.0.0-...-eb599cc Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Systemd

type Systemd struct {
	Service *config.Service
	Target  *config.Target
}

Systemd is a deployer for services running under systemd

func (*Systemd) Deploy

func (d *Systemd) Deploy(revision string) error

Deploy deploys the given revision of the service to the target

func (*Systemd) Revision

func (d *Systemd) Revision() (string, error)

Revision returns the currently deployed revision

Jump to

Keyboard shortcuts

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