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