(ctx context.Context, conf config.Config)
| 124 | return host.RunQuiet(args...) |
| 125 | } |
| 126 | func (l processManager) Stop(ctx context.Context, conf config.Config) error { |
| 127 | if s, err := l.Running(ctx, conf); err != nil || !s.Running { |
| 128 | return nil |
| 129 | } |
| 130 | return l.host.RunQuiet(osutil.Executable(), "daemon", "stop", config.CurrentProfile().ShortName) |
| 131 | } |
| 132 | |
| 133 | func processesFromConfig(conf config.Config) []process.Process { |
| 134 | var processes []process.Process |
no test coverage detected