Files
havline-native/app-src/internal/nginx/cleanup_windows.go
T

12 lines
268 B
Go
Raw Normal View History

//go:build windows
package nginx
import "context"
func prepareStartPlatform(m *Manager, ctx context.Context) {
stopOrphanMasters(m.cfg.NginxDir())
_ = m.runNginx(ctx, []string{"-c", m.cfg.NginxConfigPath(), "-s", "quit"}, "")
removePIDFile(m.cfg.NginxPIDFile)
}