mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-08 16:46:37 +08:00
96a17ae35d
* fix(agent): recover OpenResty runtime after invalid PID * fix(agent): scope OpenResty shutdown to instance processes --------- Co-authored-by: Noru Wyrms <wyrmsnoru@gmail.com>
20 lines
534 B
Go
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")
|
|
}
|