MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / Status

Method Status

agent/utils/toolbox/pure-ftpd.go:83–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81}
82
83func (f *Ftp) Status() (bool, bool) {
84 isActive, _ := controller.CheckActive("pure-ftpd.service")
85 isExist, _ := controller.CheckExist("pure-ftpd.service")
86
87 return isActive, isExist
88}
89
90func (f *Ftp) Operate(operate string) error {
91 switch operate {

Callers

nothing calls this directly

Calls 1

CheckExistMethod · 0.65

Tested by

no test coverage detected