(serviceName string)
| 35 | return true, nil |
| 36 | } |
| 37 | func (s *Sysvinit) Status(serviceName string) (string, error) { |
| 38 | return run(s.toolCmd, serviceName, "status") |
| 39 | } |
| 40 | |
| 41 | func (s *Sysvinit) Operate(operate, serviceName string) error { |
| 42 | return handlerErr(run(s.toolCmd, serviceName, operate)) |