daemonize

package
v0.0.3-untested Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package daemonize provides a way to daemonize the deepsentinel services.

Index

Constants

View Source
const (
	Server daemonType = iota
	Agent
)

Daemon types

Variables

This section is empty.

Functions

func Cmd

func Cmd(rootCmd *cobra.Command, component daemonType)

Cmd adds the daemonize commands to the root command

func Daemonize

func Daemonize(component daemonType, update bool)

Daemonize installs and starts daemons

func UninstallDaemon

func UninstallDaemon(component daemonType)

UninstallDaemon uninstalls the daemon

Types

This section is empty.

Jump to

Keyboard shortcuts

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