feat: create standalone native fnOS repository
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
//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)
|
||||
}
|
||||
Reference in New Issue
Block a user