start

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: GPL-2.0, GPL-2.0-or-later Imports: 12 Imported by: 1

Documentation

Overview

Package start provides the named command that runs a redis server followed by all of the configured daemons. If the PID is 1, start doesn't return; instead, it iterates and command shell.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	// Machines may use Hook to run something before redisd and other
	// daemons.
	Hook func() error

	// Machines may use ConfHook to run something after all daemons start
	// and before source of start command script.
	ConfHook func() error

	// GPIO init hook for machines than need it
	ConfGpioHook func() error
	// contains filtered or unexported fields
}

func New

func New() *Command

func (*Command) Apropos

func (*Command) Apropos() lang.Alt

func (*Command) Goes

func (c *Command) Goes(g *goes.Goes)

func (*Command) Main

func (c *Command) Main(args ...string) error

func (*Command) Man

func (*Command) Man() lang.Alt

func (*Command) String

func (*Command) String() string

func (*Command) Usage

func (*Command) Usage() string

Jump to

Keyboard shortcuts

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