daemon

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(exit int, pid, username string, arg ...string)

Start start child process

exit: child process allow exit count, if <=0 not limit,
      otherwise if child process exit more than exit count,
      the parent process will exit
pid: pid file save path
username: change child process by user only supported linux, allow empty
arg: child process startup arguments

Types

This section is empty.

Jump to

Keyboard shortcuts

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