start

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: GPL-2.0, GPL-2.0-or-later Imports: 14 Imported by: 3

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

	// Gettys is the list of ttys to start getty on
	Gettys []TtyCon
	// contains filtered or unexported fields
}

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

type TtyCon added in v1.11.2

type TtyCon struct {
	Tty  string
	Baud int
}

Jump to

Keyboard shortcuts

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