Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFileNotExist = errors.New("file not exist")
Functions ¶
func ProcessDstartFromConfigFile ¶
func ProcessDstartFromConfigFile(configFilePath string)
func VerifyService ¶
Types ¶
type Service ¶
type Service struct { Description string `toml:"Description"` ExecCommand string `toml:"ExecCommand"` Username string `toml:"Username"` Uid string `toml:"Uid"` GroupName string `toml:"Groupname"` GroupId string `toml:"GroupId"` WorkingDirectory string `toml:"WorkingDirectory"` InputFile string `toml:"InputFile"` OutputFile string `toml:"OutputFile"` OutputFileAppend bool `toml:"OutputFileAppend"` ErrorOutputFile string `toml:"ErrorOutputFile"` ErrorOutputFileAppend bool `toml:"ErrorOutputFileAppend"` RedirectErrorOutputToOutput bool `toml:"RedirectErrorOutputToOutput"` Envs map[string]string `toml:"Envs"` }
Click to show internal directories.
Click to hide internal directories.