Documentation ¶
Index ¶
- func GetInitDPath(name string) string
- func GetInitDScript(folder, command, user string) (ret string, err error)
- func Install(user string) (rErr error)
- func IsInitDScriptExist(name string) bool
- func MakeInitDExecutable(name string) (rErr error)
- func Register(parse bool)
- func WriteInitD(name, content string) (rErr error)
- type TemplateInitD
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInitDPath ¶
func GetInitDScript ¶
func IsInitDScriptExist ¶
func MakeInitDExecutable ¶
func WriteInitD ¶
Types ¶
type TemplateInitD ¶
type TemplateInitD struct {
Dir, User, Command, ScriptName string
}
Click to show internal directories.
Click to hide internal directories.