func SignalSelfdestructProcess(ctx context.Context) bool {
	proc, err := os.FindProcess(os.Getpid())
	if err == nil {
		if err = proc.Signal(syscall.SIGTERM); err == nil {
			return true
		}
	}
	return false
}
// SignalSelfdestructProcess sends SIGTERM to current process
SignalSelfdestructProcess sends SIGTERM to current process
// SignalSelfdestructProcess sends SIGTERM to current process
func SignalSelfdestructProcess(ctx context.Context) bool {
	proc, err := os.FindProcess(os.Getpid())
	if err == nil {
		if err = proc.Signal(syscall.SIGTERM); err == nil {
			return true
		}
	}
	return false
}
func SignalSelfdestructProcess ( ctx context . Context ) bool { proc , err := os . FindProcess ( os . Getpid ( ) ) if err == nil { if err = proc . Signal ( syscall . SIGTERM ) ; err == nil { return true } } return false }
SignalSelfdestructProcess sends SIGTERM to current process
SignalSelfdestructProcess sends SIGTERM to current process