Files
OpenFlare/internal/apps/agent/nginx/runtime_process_other.go
T
Ryan 96a17ae35d fix(agent): recover OpenResty runtime after invalid PID (#45)
* fix(agent): recover OpenResty runtime after invalid PID

* fix(agent): scope OpenResty shutdown to instance processes

---------

Co-authored-by: Noru Wyrms <wyrmsnoru@gmail.com>
2026-10-08 08:39:40 +08:00

20 lines
534 B
Go

//go:build !unix
// Copyright 2026 Arctel.net
// SPDX-License-Identifier: Apache-2.0
package nginx
import (
"context"
"errors"
)
func inspectOpenrestyProcesses(_ context.Context, _, _ string) ([]runtimeProcess, error) {
return nil, errors.New("safe openresty process recovery is unsupported on this platform; refusing an unverified start")
}
func signalOpenrestyProcess(_ context.Context, _, _ string, _ runtimeProcess, _ bool) error {
return errors.New("safe openresty process signalling is unsupported on this platform")
}